diff lib/protocols.c @ 349:3fccdc9eb16f

2003-1-4 Brian Masney <masneyb@gftp.org> * lib/misc.c (gftp_parse_command_line) - unified this function so that it is consistent for all arguments. * lib/protocols.c (gftp_file_destroy) - fixed memory leak (utf8_file was not being freed)
author masneyb
date Sun, 04 Jan 2004 17:26:50 +0000
parents 0fcc6468a0af
children 7cb3327f96f7
line wrap: on
line diff
--- a/lib/protocols.c	Sun Jan 04 17:23:58 2004 +0000
+++ b/lib/protocols.c	Sun Jan 04 17:26:50 2004 +0000
@@ -106,6 +106,8 @@
 
   if (file->file)
     g_free (file->file);
+  if (file->utf8_file)
+    g_free (file->utf8_file);
   if (file->user)
     g_free (file->user);
   if (file->group)