diff options
author | Milan Crha <mcrha@redhat.com> | 2012-01-04 21:53:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-01-04 21:54:17 +0800 |
commit | ef8832bb8035edaad77749413afc110e9b8ea01e (patch) | |
tree | 921761e1f057b33efccf0ecfa676504064c775f1 /modules/addressbook | |
parent | 064d9187ab85ad1987b3cd0440fec33b6254ac20 (diff) | |
download | gsoc2013-evolution-ef8832bb8035edaad77749413afc110e9b8ea01e.tar.gz gsoc2013-evolution-ef8832bb8035edaad77749413afc110e9b8ea01e.tar.zst gsoc2013-evolution-ef8832bb8035edaad77749413afc110e9b8ea01e.zip |
Bug #665036 - Memory leaks spot in Contacts view
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-view-private.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c index cb0cf60ab2..3c3b1a9a8f 100644 --- a/modules/addressbook/e-book-shell-view-private.c +++ b/modules/addressbook/e-book-shell-view-private.c @@ -95,6 +95,9 @@ book_shell_view_selection_change_foreach (gint row, e_book_shell_content_set_preview_contact (book_shell_content, contact); book_shell_view->priv->preview_index = row; + + if (contact) + g_object_unref (contact); } static void |