From: <jc...@us...> - 2008-08-17 02:14:16
|
Revision: 2102 http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2102&view=rev Author: jcsjcs Date: 2008-08-17 02:14:27 +0000 (Sun, 17 Aug 2008) Log Message: ----------- * src/details.c (details_get_item): fixed memory leak. Thanks to Andrea. Modified Paths: -------------- gtkpod/trunk/ChangeLog gtkpod/trunk/src/details.c Modified: gtkpod/trunk/ChangeLog =================================================================== --- gtkpod/trunk/ChangeLog 2008-08-17 02:14:07 UTC (rev 2101) +++ gtkpod/trunk/ChangeLog 2008-08-17 02:14:27 UTC (rev 2102) @@ -19,6 +19,9 @@ * src/file.c (add_coverart): fixed memory leak. Thanks to Andrea. + * src/details.c (details_get_item): fixed memory leak. Thanks to + Andrea. + 2008-08-16 Paul Richardson <phantom_sf at users.sourceforge.net> * src/display.c: memory leak fix in display_image_dialog. Thanks to Modified: gtkpod/trunk/src/details.c =================================================================== --- gtkpod/trunk/src/details.c 2008-08-17 02:14:07 UTC (rev 2101) +++ gtkpod/trunk/src/details.c 2008-08-17 02:14:27 UTC (rev 2102) @@ -1131,6 +1131,8 @@ text = gtk_text_buffer_get_text (tb, &start, &end, TRUE); changed = track_set_text (track, text, item); + + g_free (text); } break; case T_COMPILATION: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |