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


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-329-g7ed3302
Date: Tue, 13 Dec 2011 19:48:47 +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  7ed3302c4f7cc79f23e3a39ea3bc1a123432f1a1 (commit)
      from  b17203eab97c60d3782c736f9ac9a10b67be5136 (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=7ed3302c4f7cc79f23e3a39ea3bc1a123432f1a1


commit 7ed3302c4f7cc79f23e3a39ea3bc1a123432f1a1
Author: Daniele Forsi <address@hidden>
Date:   Tue Dec 13 20:46:15 2011 +0100

    Close file before returning
    
    Fixes cppcheck warning:
    [./xgnokii/xgnokii_contacts.c:2729]: (error) Resource leak: f

diff --git a/xgnokii/xgnokii_contacts.c b/xgnokii/xgnokii_contacts.c
index 615832a..0bd82cc 100644
--- a/xgnokii/xgnokii_contacts.c
+++ b/xgnokii/xgnokii_contacts.c
@@ -2723,6 +2723,8 @@ static void OkImportDialog(GtkWidget * w, 
GtkFileSelection * fs)
                }
        }
 
+       fclose(f);
+
        RefreshStatusInfo();
        GUIEventSend(GUI_EVENT_CONTACTS_CHANGED);
        GUIEventSend(GUI_EVENT_SMS_NUMBER_CHANGED);

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

Summary of changes:
 xgnokii/xgnokii_contacts.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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