[balsa] address-book-rubrica: Do not leak the completion
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] address-book-rubrica: Do not leak the completion
- Date: Thu, 14 Feb 2019 21:06:15 +0000 (UTC)
commit 84b866ad2da8687559780d73ad74013de565319d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Thu Feb 14 15:48:50 2019 -0500
address-book-rubrica: Do not leak the completion
libbalsa/address-book-rubrica.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libbalsa/address-book-rubrica.c b/libbalsa/address-book-rubrica.c
index 3b35750b5..6064fa825 100644
--- a/libbalsa/address-book-rubrica.c
+++ b/libbalsa/address-book-rubrica.c
@@ -127,6 +127,8 @@ libbalsa_address_book_rubrica_init(LibBalsaAddressBookRubrica * ab_rubrica)
ab_text->item_list = NULL;
ab_text->mtime = 0;
+ if (ab_text->name_complete != NULL)
+ libbalsa_completion_free(ab_text->name_complete);
ab_text->name_complete =
libbalsa_completion_new((LibBalsaCompletionFunc)
completion_data_extract);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]