aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/contact-editor
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-24 02:34:42 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-24 02:34:42 +0800
commit713e609ecb0df1373edbca1f1a05dd838416599a (patch)
treef8ebdb7913a22c0a02b7ea394c24ca6818802989 /addressbook/contact-editor
parent54b0b2121cb06e2cd0483a7adf8c4aac86308daf (diff)
downloadgsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar.gz
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar.bz2
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar.lz
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar.xz
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.tar.zst
gsoc2013-evolution-713e609ecb0df1373edbca1f1a05dd838416599a.zip
Fixed some memory leaks.
2000-05-23 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-save-as.c: Fixed some memory leaks. svn path=/trunk/; revision=3183
Diffstat (limited to 'addressbook/contact-editor')
-rw-r--r--addressbook/contact-editor/e-contact-save-as.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/contact-editor/e-contact-save-as.c b/addressbook/contact-editor/e-contact-save-as.c
index a8ce68a084..51cb2619e7 100644
--- a/addressbook/contact-editor/e-contact-save-as.c
+++ b/addressbook/contact-editor/e-contact-save-as.c
@@ -38,6 +38,7 @@ save_it(GtkWidget *widget, SaveAsInfo *info)
g_free(vcard);
gtk_object_unref(GTK_OBJECT(info->card));
gtk_widget_destroy(GTK_WIDGET(info->filesel));
+ g_free(info);
}
static void
@@ -45,12 +46,14 @@ close_it(GtkWidget *widget, SaveAsInfo *info)
{
gtk_object_unref(GTK_OBJECT(info->card));
gtk_widget_destroy(GTK_WIDGET(info->filesel));
+ g_free(info);
}
static void
delete_it(GtkWidget *widget, SaveAsInfo *info)
{
gtk_object_unref(GTK_OBJECT(info->card));
+ g_free(info);
}
void