diff lib/misc.c @ 612:08e7b5186eb8

2004-11-4 Brian Masney <masneyb@gftp.org> * src/gtk/bookmarks.c (build_bookmarks_tree) - greatly simplified this function. Added helper function _add_tree_node() * lib/misc.c (gftp_free_bookmark) - free the path and oldpath variables
author masneyb
date Fri, 05 Nov 2004 02:05:22 +0000
parents d97e985f5dbe
children 07dc89f95076
line wrap: on
line diff
--- a/lib/misc.c	Wed Nov 03 22:12:22 2004 +0000
+++ b/lib/misc.c	Fri Nov 05 02:05:22 2004 +0000
@@ -992,6 +992,10 @@
 {
   gftp_bookmarks_var * tempentry;
 
+  if (entry->path)
+    g_free (entry->path);
+  if (entry->oldpath)
+    g_free (entry->oldpath);
   if (entry->hostname)
     g_free (entry->hostname);
   if (entry->remote_dir)