changeset 784:c6fd2ce0f8e8 trunk

[svn] - oh shit, i just found the error, we were calling malloc(0)!
author nenolod
date Thu, 02 Mar 2006 15:50:49 -0800
parents 04d803e33b53
children 20a62ae86b6e
files Plugins/Input/mpg123/id3_frame.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/id3_frame.c	Thu Mar 02 15:01:33 2006 -0800
+++ b/Plugins/Input/mpg123/id3_frame.c	Thu Mar 02 15:50:49 2006 -0800
@@ -728,7 +728,7 @@
     /*
      * Allocate frame.
      */
-    frame = g_malloc0(sizeof(frame));
+    frame = g_malloc0(sizeof(id3_frame));
 
     frame->fr_owner = id3;
     frame->fr_raw_size = size;