[maemo-commits] [maemo-commits] r16548 - projects/haf/trunk/hildon-thumbnail/thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Oct 31 16:38:08 EET 2008
- Previous message: [maemo-commits] r16547 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16549 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-31 16:38:06 +0200 (Fri, 31 Oct 2008) New Revision: 16548 Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c Log: Memleaks Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-10-31 14:33:52 UTC (rev 16547) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-10-31 14:38:06 UTC (rev 16548) @@ -149,6 +149,7 @@ else { g_string_append (item->errors, " - "); g_string_append (item->errors, error->message); + g_clear_error (&error); g_set_error (&error, FACTORY_ERROR, 0, item->errors->str); } } Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-10-31 14:33:52 UTC (rev 16547) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-10-31 14:38:06 UTC (rev 16548) @@ -138,6 +138,7 @@ else { g_string_append (r_priv->errors, " - "); g_string_append (r_priv->errors, error->message); + g_clear_error (&error); g_set_error (&error, FACTORY_ERROR, 0, r_priv->errors->str); } } @@ -164,6 +165,7 @@ else { g_string_append (r_priv->errors, " - "); g_string_append (r_priv->errors, error->message); + g_clear_error (&error); g_set_error (&error, FACTORY_ERROR, 0, r_priv->errors->str); } }
- Previous message: [maemo-commits] r16547 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16549 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]