Revision: 4927 http://geany.svn.sourceforge.net/geany/?rev=4927&view=rev Author: eht16 Date: 2010-05-16 17:45:21 +0000 (Sun, 16 May 2010)
Log Message: ----------- Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/THANKS trunk/src/about.c trunk/src/prefix.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-05-16 17:45:06 UTC (rev 4926) +++ trunk/ChangeLog 2010-05-16 17:45:21 UTC (rev 4927) @@ -21,6 +21,8 @@ * plugins/filebrowser.c: Implement reading and evaluating hidden file attribute on Windows. Fix broken "Go Up" if the current path ends with a slash. + * THANKS, src/about.c, src/prefix.c: + Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/THANKS =================================================================== --- trunk/THANKS 2010-05-16 17:45:06 UTC (rev 4926) +++ trunk/THANKS 2010-05-16 17:45:21 UTC (rev 4927) @@ -78,6 +78,7 @@ Yoann Le Montagner <yoann(dot)le-montagner(at)m4x(dot)org> - set VTE bold color Dimitar Zhekov <hamster(at)mbox(dot)contact(dot)bg> - matching brace improvements patch Ondrej Donek <ondrejd(at)gmail(dot)com> - Support for creating PHP classes with the classbuilder plugin +Daniel Marjamaki <danielm77(at)spray(dot)se> - Small improvements
Translators: ------------
Modified: trunk/src/about.c =================================================================== --- trunk/src/about.c 2010-05-16 17:45:06 UTC (rev 4926) +++ trunk/src/about.c 2010-05-16 17:45:21 UTC (rev 4927) @@ -84,7 +84,8 @@ static const gchar *contributors = "Alexander Rodin, Alexey Antipov, Andrew Rowland, Anh Phạm, blackdog, Bo Lorentsen, Bob Doan, " "Bronisław Białek, Can Koy, Catalin Marinas, " -"Chris Macksey, Christoph Berg, Colomban Wendling, Conrad Steenberg, Daniel Richard G., Dave Moore, " +"Chris Macksey, Christoph Berg, Colomban Wendling, Conrad Steenberg, Daniel Richard G., " +"Daniel Marjamaki, Dave Moore, " "Dimitar Zhekov, Dirk Weber, Elias Pschernig, Eric Forgeot, Eugene Arshinov, Felipe Pena, François Cami, " "Giuseppe Torelli, Guillaume de Rorthais, Guillaume Hoffmann, Herbert Voss, Jason Oster, " "Jean-François Wauthy, Jeff Pohlmeyer, Jesse Mayes, John Gabriele, Jon Senior, Jon Strait, Josef Whiter, "
Modified: trunk/src/prefix.c =================================================================== --- trunk/src/prefix.c 2010-05-16 17:45:06 UTC (rev 4926) +++ trunk/src/prefix.c 2010-05-16 17:45:21 UTC (rev 4927) @@ -206,18 +206,18 @@ tmp = g_strndup ((char *) path, end - path); if (!*tmp) { - free (tmp); + g_free (tmp); return strdup ("/"); } end = strrchr (tmp, '/'); if (!end) return tmp;
result = g_strndup (tmp, end - tmp); - free (tmp); + g_free (tmp);
if (!*result) { - free (result); + g_free (result); result = strdup ("/"); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.