[evolution-data-server/openismus-work-3-8: 6/43] ESExp: Fixed memory leak of ESExp->error string



commit 5e6c5acdbedb6e5fda2f2d40cdea45bc26040099
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sun Nov 24 16:10:54 2013 +0900

    ESExp: Fixed memory leak of ESExp->error string

 libedataserver/e-sexp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libedataserver/e-sexp.c b/libedataserver/e-sexp.c
index 67ad75b..9764639 100644
--- a/libedataserver/e-sexp.c
+++ b/libedataserver/e-sexp.c
@@ -1481,6 +1481,8 @@ e_sexp_finalise (gpointer o)
                s->tree = NULL;
        }
 
+       g_free (s->error);
+
        e_memchunk_destroy (s->term_chunks);
        e_memchunk_destroy (s->result_chunks);
 


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