[geany/geany-plugins] de0183: geanyvc: Don't mix allocators

Colomban Wendling git-noreply at xxxxx
Sat Nov 8 23:06:28 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:06:28 UTC
Commit:      de018378ea07f6d97d1b53291514df5e249defda
             https://github.com/geany/geany-plugins/commit/de018378ea07f6d97d1b53291514df5e249defda

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


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

Modified: geanyvc/src/utils.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -51,12 +51,12 @@ 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