Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 08 Nov 2014 23:06:28 UTC Commit: de018378ea07f6d97d1b53291514df5e249defda https://github.com/geany/geany-plugins/commit/de018378ea07f6d97d1b53291514df...
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).