GNOME Bugzilla – Bug 305992
Potential Memory Leak in app/config/gimprc-serialize.c::gimp_rc_serialize_properties_diff
Last modified: 2008-01-15 14:03:55 UTC
I am a researcher in the Stanford Checker group. My static analysis tool has found a potential memory leak in: file: app/config/gimprc-serialize.c function: gimp_rc_serialize_properties_diff /* LINE 78: memory is allocated */ diff = gimp_config_diff (G_OBJECT (config), G_OBJECT (compare), GIMP_CONFIG_PARAM_SERIALIZE); ... /* LINE 92, memory is (potentially) leaked when we return FALSE */ if (! gimp_config_serialize_property (config, prop_spec, writer)) return FALSE; This possible bug was found using a static analysis tool.
2005-05-31 Sven Neumann <sven@gimp.org> * app/config/gimprc-serialize.c (gimp_rc_serialize_properties_diff): don't leak the GList in the unlikely case of an error (bug #305992, spotted by Ted Kremenek).