From 4ce48773980ec26cde77275c68fa05a5eab73515 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 16 May 2000 11:45:45 +0000 Subject: Fixed some memory leaks. 2000-05-16 Christopher James Lahey * backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor.c, ename/e-name-western.c, gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed some memory leaks. * backend/ebook/e-card.c: Rearranged some code. svn path=/trunk/; revision=3085 --- addressbook/contact-editor/e-contact-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/contact-editor') diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c index e898b6eedd..058f39b153 100644 --- a/addressbook/contact-editor/e-contact-editor.c +++ b/addressbook/contact-editor/e-contact-editor.c @@ -1175,6 +1175,7 @@ fill_in_info(EContactEditor *editor) gtk_editable_delete_text(editable, 0, -1); if (categories) gtk_editable_insert_text(editable, categories, strlen(categories), &position); + g_free(categories); /* File as has to come after company and name or else it'll get messed up when setting them. */ position = 0; -- cgit