aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/contact-editor/e-contact-save-as.c3
-rw-r--r--addressbook/gui/contact-editor/e-contact-save-as.c3
2 files changed, 6 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
diff --git a/addressbook/gui/contact-editor/e-contact-save-as.c b/addressbook/gui/contact-editor/e-contact-save-as.c
index a8ce68a084..51cb2619e7 100644
--- a/addressbook/gui/contact-editor/e-contact-save-as.c
+++ b/addressbook/gui/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