* libglabels/db.c: (lgl_db_lookup_template_from_name):
* src/object-editor.c: (gl_object_editor_finalize):
* src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
Fixed several small memory leaks.
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@708
f5e0f49d-192f-0410-a22d-
a8d8700d0965
+2007-12-15 Jim Evins <evins@snaught.com>
+
+ * libglabels/db.c: (lgl_db_lookup_template_from_name):
+ * src/object-editor.c: (gl_object_editor_finalize):
+ * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
+ Fixed several small memory leaks.
+
2007-12-14 Jim Evins <evins@snaught.com>
* libglabels/db.c:
{
g_free (candidate_name);
new_template = lgl_template_dup (template);
+ g_free (new_template->brand);
new_template->brand = g_strdup (alias->brand);
+ g_free (new_template->part);
new_template->part = g_strdup (alias->part);
return new_template;
}
g_return_if_fail (GL_IS_OBJECT_EDITOR (editor));
g_return_if_fail (editor->priv != NULL);
+ g_object_unref (editor->priv->gui);
g_free (editor->priv);
g_signal_handlers_disconnect_by_func (G_OBJECT(gl_prefs),
g_return_if_fail (object != NULL);
g_return_if_fail (GL_IS_WDGT_MEDIA_SELECT (object));
+ g_object_unref (media_select->priv->recent_store);
g_object_unref (media_select->priv->search_all_store);
g_free (media_select->priv);