[geany/geany-plugins] b3171d: GeanyLaTeX: Fixing a memory leak
Frank Lanitz
git-noreply at xxxxx
Thu Nov 7 14:35:27 UTC 2013
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Thu, 07 Nov 2013 14:35:27 UTC
Commit: b3171da9189f320efa241b568b477a8950279348
https://github.com/geany/geany-plugins/commit/b3171da9189f320efa241b568b477a8950279348
Log Message:
-----------
GeanyLaTeX: Fixing a memory leak
Modified Paths:
--------------
geanylatex/src/templates.c
Modified: geanylatex/src/templates.c
4 files changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -1,7 +1,7 @@
/*
* templates.c
*
- * Copyright 2009-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+ * Copyright 2009-2013 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -81,6 +81,8 @@ GPtrArray* glatex_init_custom_templates(void)
g_slist_foreach(file_list, (GFunc)glatex_init_cutom_template_item, templates);
g_slist_foreach(file_list, (GFunc) g_free, NULL);
g_slist_free(file_list);
+
+ g_free(tmp_basedir);
return templates;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list