diff options
author | monsta <[email protected]> | 2014-11-04 14:46:43 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-19 15:42:44 +0100 |
commit | 4f7a774746b0957e8b62e41f27a82b543b6ccf5a (patch) | |
tree | fc5c761496151830a3bfae0388d905e7390b9842 /src/glib-utils.c | |
parent | 9574a0925e764867c810c35bbff16ab0bae8c930 (diff) | |
download | engrampa-4f7a774746b0957e8b62e41f27a82b543b6ccf5a.tar.bz2 engrampa-4f7a774746b0957e8b62e41f27a82b543b6ccf5a.tar.xz |
don't leak memory
Diffstat (limited to 'src/glib-utils.c')
-rw-r--r-- | src/glib-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glib-utils.c b/src/glib-utils.c index 176370c..669499b 100644 --- a/src/glib-utils.c +++ b/src/glib-utils.c @@ -94,6 +94,8 @@ str_substitute (const char *str, gstr = g_string_append (gstr, to_str); } + g_strfreev (tokens); + return g_string_free (gstr, FALSE); } |