Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Thu, 07 Nov 2013 14:35:27 UTC
Commit: b3171da9189f320efa241b568b477a8950279348
https://github.com/geany/geany-plugins/commit/b3171da9189f320efa241b568b477…
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).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Thu, 07 Nov 2013 14:28:37 UTC
Commit: a2f2ce063f7fd43f15b2962eea5c0d33801853cc
https://github.com/geany/geany-plugins/commit/a2f2ce063f7fd43f15b2962eea5c0…
Log Message:
-----------
Addons: XMLtagging: Change sort of a check to prevent checking \0 for a space
Modified Paths:
--------------
addons/src/ao_xmltagging.c
Modified: addons/src/ao_xmltagging.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -104,7 +104,7 @@ void ao_xmltagging(void)
/* We try to find a space inside the inserted tag as we
* only need to close the tag with part until first space.
* */
- while (!g_ascii_isspace(tag->str[end]) && end < tag->len)
+ while (end < tag->len && !g_ascii_isspace(tag->str[end]) )
end++;
if (end > 0)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).