[evolution-data-server] Fix a memory leak in EBookQuery with field_test.locale



commit cdcceae522162053c3001859bb8875dbb11c7039
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 21 10:40:12 2013 +0100

    Fix a memory leak in EBookQuery with field_test.locale

 addressbook/libebook-contacts/e-book-query.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook-contacts/e-book-query.c b/addressbook/libebook-contacts/e-book-query.c
index 8519c1b..a45da36 100644
--- a/addressbook/libebook-contacts/e-book-query.c
+++ b/addressbook/libebook-contacts/e-book-query.c
@@ -375,6 +375,7 @@ e_book_query_unref (EBookQuery *q)
        case E_BOOK_QUERY_TYPE_FIELD_TEST:
                g_free (q->query.field_test.field_name);
                g_free (q->query.field_test.value);
+               g_free (q->query.field_test.locale);
                break;
 
        case E_BOOK_QUERY_TYPE_FIELD_EXISTS:


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