aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-01-21 00:17:18 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-01-21 00:17:18 +0800
commit23803322609824d4c545bbad2753b44d8b2f1bcb (patch)
tree8f7590df517e4fa49a0de9c69eab86620ac15d48 /addressbook
parent699d4422d8aa3d52e4262e182d816e0f678fb6c1 (diff)
downloadgsoc2013-evolution-23803322609824d4c545bbad2753b44d8b2f1bcb.tar.gz
gsoc2013-evolution-23803322609824d4c545bbad2753b44d8b2f1bcb.tar.zst
gsoc2013-evolution-23803322609824d4c545bbad2753b44d8b2f1bcb.zip
do not try to unref when query is NULL
2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com> * printing/e-contact-print.c (e_contact_print_response): do not try to unref when query is NULL svn path=/trunk/; revision=24327
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/printing/e-contact-print.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index b8c6ed2daa..39429e9e53 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * printing/e-contact-print.c (e_contact_print_response): do not
+ try to unref when query is NULL
+
2004 -01-20 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (edit_im_clicked) : do not call
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 19e7f6b36f..8966504f28 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -988,7 +988,10 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data)
e_free_object_list (contact_list);
else
g_object_unref(contact);
- e_book_query_unref (query);
+
+ if (query)
+ e_book_query_unref (query);
+
gtk_widget_destroy (dialog);
g_free(style);
g_free(ctxt);