[geany/geany-plugins] cf8c32: geanyprj: Don't mix allocators

Colomban Wendling git-noreply at xxxxx
Sat Nov 8 23:07:17 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 08 Nov 2014 23:07:17 UTC
Commit:      cf8c323d1710f0a4fa9358e17fed725078679b46
             https://github.com/geany/geany-plugins/commit/cf8c323d1710f0a4fa9358e17fed725078679b46

Log Message:
-----------
geanyprj: Don't mix allocators


Modified Paths:
--------------
    geanyprj/src/utils.c

Modified: geanyprj/src/utils.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -76,12 +76,12 @@ gchar *normpath(const gchar *filename)
 
 	if (filename[0] == '.' && strcmp(v[0], ".") == 0)
 	{
-		*pout = strdup(".");
+		*pout = g_strdup(".");
 		pout++;
 	}
 	else if (filename[0] == '/')
 	{
-		*pout = strdup("/");
+		*pout = g_strdup("/");
 		pout++;
 	}
 



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