[evolution-data-server] Fix a memory leak in ebmb_start_view_thread_func()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix a memory leak in ebmb_start_view_thread_func()
- Date: Tue, 25 Sep 2018 16:27:13 +0000 (UTC)
commit 772f83761c893c675584c4c741017b44eb3d4f68
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]