changeset 37:d90f556e4aa3

[gaim-migrate @ 46] 64byte memory leak every time you import a buddy list is now fixed. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 25 Mar 2000 13:45:13 +0000
parents 7c6334dfab2b
children f60e533679ce
files src/dialogs.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Mar 25 05:39:01 2000 +0000
+++ b/src/dialogs.c	Sat Mar 25 13:45:13 2000 +0000
@@ -1879,6 +1879,7 @@
                 destroy_dialog(NULL, importdialog);
                 importdialog = NULL;
                 g_free(buf);
+		g_free(first);
                 return;
         }
                 
@@ -1888,6 +1889,7 @@
                 destroy_dialog(NULL, importdialog);
                 importdialog = NULL;
 		g_free(buf);
+		g_free(first);
                 return;
         } else if (buf[0] == 'm') {
                 buf2 = buf;
@@ -1920,7 +1922,8 @@
         importdialog = NULL;
         
         g_free(buf);
-        
+        g_free(first);
+	
 }
 
 void show_import_dialog()