diff src/uicommon/gftpui.c @ 598:fa0838b22b14

2004-10-29 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c src/gtk/dnd.c src/gtk/view_dialog.c src/uicommon/gftpui.c src/uicommon/gftpuicallbacks.c - removed free_fdata(). Added free_it parameter to gftp_file_destroy()
author masneyb
date Fri, 29 Oct 2004 20:05:32 +0000
parents 81b957b00691
children 5f2808c65e46
line wrap: on
line diff
--- a/src/uicommon/gftpui.c	Wed Oct 27 22:18:30 2004 +0000
+++ b/src/uicommon/gftpui.c	Fri Oct 29 20:05:32 2004 +0000
@@ -631,8 +631,7 @@
       g_free (tempstr);
 
       templist = templist->next;
-      gftp_file_destroy (fle);
-      g_free (fle);
+      gftp_file_destroy (fle, 1);
     }
 
 
@@ -897,7 +896,7 @@
     {
       if (strcmp (fle->file, ".") == 0 || strcmp (fle->file, "..") == 0)
         {
-          gftp_file_destroy (fle);
+          gftp_file_destroy (fle, 0);
           continue;
         }