SF.net SVN: geany-plugins:[1941] trunk/geany-plugins/codenav/src/ switch_head_impl.c
funto66 at users.sourceforge.net
funto66 at xxxxx
Sun Feb 27 12:05:08 UTC 2011
Revision: 1941
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1941&view=rev
Author: funto66
Date: 2011-02-27 12:05:07 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
Fixed memory leak in the CodeNav plug-in - thanks Colomban Wendling and CppCheck ^^
Modified Paths:
--------------
trunk/geany-plugins/codenav/src/switch_head_impl.c
Modified: trunk/geany-plugins/codenav/src/switch_head_impl.c
===================================================================
--- trunk/geany-plugins/codenav/src/switch_head_impl.c 2011-02-27 11:19:11 UTC (rev 1940)
+++ trunk/geany-plugins/codenav/src/switch_head_impl.c 2011-02-27 12:05:07 UTC (rev 1941)
@@ -131,7 +131,7 @@
static void
fill_default_languages_list()
{
- Language* lang = g_malloc0(sizeof(Language));
+ Language* lang = NULL;
languages = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list