gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-25


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-256-gc2eec19
Date: Fri, 01 Jul 2011 13:09:30 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  c2eec190308345abec435ad2097d3c2e1c65da56 (commit)
      from  a99d589a0472545c9dc794034c65f380c5aa1e9b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=c2eec190308345abec435ad2097d3c2e1c65da56


commit c2eec190308345abec435ad2097d3c2e1c65da56
Author: Daniele Forsi <address@hidden>
Date:   Fri Jul 1 14:55:01 2011 +0200

    Free memory only if it was allocated by this function
    
    Reverts one hunk of commit 896b10d1241f0fba314ecbb481cecb0cdb133c20
    Reported by r4ph431 on #gnokii

diff --git a/common/cfgreader.c b/common/cfgreader.c
index b688b1a..bfc10a6 100644
--- a/common/cfgreader.c
+++ b/common/cfgreader.c
@@ -1147,7 +1147,8 @@ static char **get_locations(int *retval)
        config_file_locations[(*retval)++] = strdup(path);
 
 out:
-       free(xdg_config_home);
+       if (free_xdg_config_home)
+               free(xdg_config_home);
 
        return config_file_locations;
 }

-----------------------------------------------------------------------

Summary of changes:
 common/cfgreader.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]