# HG changeset patch # User nenolod # Date 1141410717 28800 # Node ID e776161c16dbe6a3d9a2b44cd79734ec514ce5db # Parent f2b43ca69f3c5b8faeb73e85bd38fc0c61c3bf11 [svn] - more fixes, sizeof *frame !($&($&(@!#$@#*&@!$# whoever wrote this code is an idiot diff -r f2b43ca69f3c -r e776161c16db Plugins/Input/mpg123/id3_frame.c --- a/Plugins/Input/mpg123/id3_frame.c Fri Mar 03 10:11:53 2006 -0800 +++ b/Plugins/Input/mpg123/id3_frame.c Fri Mar 03 10:31:57 2006 -0800 @@ -300,7 +300,7 @@ /* * Allocate frame. */ - frame = g_malloc0(sizeof(*frame)); + frame = g_malloc0(sizeof(struct id3_frame)); frame->fr_owner = id3; /* FIXME v2.4.0 */ @@ -572,7 +572,7 @@ /* * Allocate frame. */ - frame = g_malloc0(sizeof(*frame)); + frame = g_malloc0(sizeof(struct id3_frame)); /* * Initialize frame