[geany/geany-plugins] ac08ef: GeanyPy: Fixing a little memory leak

Frank Lanitz git-noreply at xxxxx
Mon Oct 21 07:31:19 UTC 2013


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Mon, 21 Oct 2013 07:31:19 UTC
Commit:      ac08ef23845a6b6d88f9983ec9482ddff93b00d2
             https://github.com/geany/geany-plugins/commit/ac08ef23845a6b6d88f9983ec9482ddff93b00d2

Log Message:
-----------
GeanyPy: Fixing a little memory leak


Modified Paths:
--------------
    geanypy/src/geanypy-signalmanager.c

Modified: geanypy/src/geanypy-signalmanager.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -47,6 +47,7 @@ SignalManager *signal_manager_new(GeanyPlugin *geany_plugin)
 		if (PyErr_Occurred())
 			PyErr_Print();
 		g_warning("Unable to import 'geany' module");
+		g_free(man);
 		return NULL;
 	}
 



--------------
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