SF.net SVN: geany:[3240] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Nov 16 17:55:05 UTC 2008


Revision: 3240
          http://geany.svn.sourceforge.net/geany/?rev=3240&view=rev
Author:   eht16
Date:     2008-11-16 17:55:05 +0000 (Sun, 16 Nov 2008)

Log Message:
-----------
Plug little memory leak.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/templates.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-11-16 17:54:46 UTC (rev 3239)
+++ trunk/ChangeLog	2008-11-16 17:55:05 UTC (rev 3240)
@@ -18,6 +18,8 @@
    Note: this breaks the plugin API for Editor and Scintilla functions.
    Rename all functions in editor.c and sciwrappers.c which are related
    to indicators for more consistency.
+ * src/templates.c:
+   Plug little memory leak.
 
 
 2008-11-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/templates.c
===================================================================
--- trunk/src/templates.c	2008-11-16 17:54:46 UTC (rev 3239)
+++ trunk/src/templates.c	2008-11-16 17:55:05 UTC (rev 3240)
@@ -512,6 +512,7 @@
 	init_ft_templates(year, date, datetime);
 
 	g_free(date);
+	g_free(datetime);
 	g_free(year);
 
 	create_file_template_menus();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list