diff options
author | Markus Engel <p637777@aol.com> | 2015-10-30 09:06:46 +0100 |
---|---|---|
committer | Ignacio Casal Quinteiro <icq@gnome.org> | 2015-10-30 09:06:46 +0100 |
commit | d8f9915a62aa14d49170180367c07c449833ae02 (patch) | |
tree | 2a65f80dd8510de8ef3516a3d6903770be789fcc /src/cr-term.c | |
parent | 96d36b17f148195723c10d59fca3b97327468b22 (diff) | |
download | libcroco-d8f9915a62aa14d49170180367c07c449833ae02.tar.gz |
Plug memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=726992
Diffstat (limited to 'src/cr-term.c')
-rw-r--r-- | src/cr-term.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cr-term.c b/src/cr-term.c index a62b355..9ffe672 100644 --- a/src/cr-term.c +++ b/src/cr-term.c @@ -365,11 +365,10 @@ cr_term_to_string (CRTerm const * a_this) g_free (tmp_str); tmp_str = NULL; } - - g_free (content); - content = NULL; } g_string_append (str_buf, ")"); + g_free (content); + content = NULL; } break; |