ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/src edit_local_accounts.c,1.6,1.7 status.c,1


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src edit_local_accounts.c,1.6,1.7 status.c,1.55,1.56
Date: Mon, 17 Mar 2003 18:25:54 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv16789/src

Modified Files:
        edit_local_accounts.c status.c 
Log Message:
fix leaks


Index: edit_local_accounts.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/edit_local_accounts.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- edit_local_accounts.c       3 Feb 2003 11:11:26 -0000       1.6
+++ edit_local_accounts.c       17 Mar 2003 23:25:50 -0000      1.7
@@ -86,6 +86,10 @@
 
                /* gtk_clist_append copies our strings, so we don't need to */
                gtk_clist_append(GTK_CLIST(account_list), text);
+
+               free(text[USER_NAME]);
+               free(text[PASSWORD]);
+               
                value_pair_free(pairs);
                num_accounts++;
        }

Index: status.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/status.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- status.c    17 Mar 2003 15:38:48 -0000      1.55
+++ status.c    17 Mar 2003 23:25:50 -0000      1.56
@@ -1180,6 +1180,7 @@
        eb_update_status(ea, c);
        
        g_free(c);
+       g_free(tmp);
        
        /* update the icon if another timeout isn't about to change it */
        if (ea->icon_handler == -1) {





reply via email to

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