[evolution-data-server/gnome-3-8] ESExp: Fixed memory leak of ESExp->error string



commit cc97a6ac40cc49e251aadda744fe8506928c7218
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]