[evolution-data-server/gnome-3-30] Fix a memory leak in ebmb_start_view_thread_func()



commit 821b83e324cc3beb50c7126a8649a6064c94b32a
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 25 18:27:11 2018 +0200

    Fix a memory leak in ebmb_start_view_thread_func()
    
    Found when looking on https://gitlab.gnome.org/GNOME/evolution-ews/issues/18

 src/addressbook/libedata-book/e-book-meta-backend.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/addressbook/libedata-book/e-book-meta-backend.c 
b/src/addressbook/libedata-book/e-book-meta-backend.c
index 0b296bf79..f2fa89b8e 100644
--- a/src/addressbook/libedata-book/e-book-meta-backend.c
+++ b/src/addressbook/libedata-book/e-book-meta-backend.c
@@ -592,6 +592,8 @@ ebmb_start_view_thread_func (EBookBackend *book_backend,
                                e_data_book_view_notify_update_prefiltered_vcard (view,
                                        e_contact_get_const (contact, E_CONTACT_UID),
                                        vcard);
+
+                               g_free (vcard);
                        }
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]