diff options
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 0651ddd152..1c74a1b636 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -323,8 +323,10 @@ e_addressbook_view_dispose (GObject *object) eav->book = NULL; } - g_free(eav->query); - eav->query = NULL; + if (eav->query) { + g_free(eav->query); + eav->query = NULL; + } eav->uic = NULL; |