ESExp: Fixed memory leak of ESExp->error string
authorTristan Van Berkom <tristanvb@openismus.com>
Sun, 24 Nov 2013 07:10:54 +0000 (16:10 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Sun, 24 Nov 2013 13:23:33 +0000 (22:23 +0900)
libedataserver/e-sexp.c

index bbf898d..d3b0146 100644 (file)
@@ -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);