projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix several memory leaks around template parsing.
[claws.git]
/
src
/
prefs_template.c
diff --git
a/src/prefs_template.c
b/src/prefs_template.c
index 9e2f28e719b39716d71255dd007031185598dcca..e8f656de441b509e52fe5437da89de1cf862215a 100644
(file)
--- a/
src/prefs_template.c
+++ b/
src/prefs_template.c
@@
-714,9
+714,11
@@
gboolean prefs_template_string_is_valid(gchar *string, gint *line, gboolean esca
if (!parsed_buf) {
if (line)
*line = quote_fmt_get_line();
+ quote_fmtlex_destroy();
return FALSE;
}
quote_fmt_reset_vartable();
+ quote_fmtlex_destroy();
}
return result;
}