Revision: 733 Author: ntrel Date: 2006-08-18 04:23:58 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=733&view=rev
Log Message: ----------- Fix a small memory leak in configuration_load
Modified Paths: -------------- trunk/ChangeLog trunk/src/keyfile.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-08-17 20:38:09 UTC (rev 732) +++ trunk/ChangeLog 2006-08-18 11:23:58 UTC (rev 733) @@ -1,3 +1,8 @@ +2006-08-18 Nick Treleaven nick.treleaven@btinternet.com + + * src/keyfile.c: Fix a small memory leak in configuration_load. + + 2006-08-17 Nick Treleaven nick.treleaven@btinternet.com
* src/callbacks.c, src/callbacks.h, src/main.c:
Modified: trunk/src/keyfile.c =================================================================== --- trunk/src/keyfile.c 2006-08-17 20:38:09 UTC (rev 732) +++ trunk/src/keyfile.c 2006-08-18 11:23:58 UTC (rev 733) @@ -220,7 +220,7 @@ { gboolean config_exists; guint i, geo_len; - gint *geo = g_malloc(sizeof(gint) * 4); + gint *geo; gsize len = 0; gchar *configfile = g_strconcat(app->configdir, G_DIR_SEPARATOR_S, "geany.conf", NULL); gchar *entry = g_malloc(14);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.