Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 02:15:49 +0100
From:      Shaun Friedle <shaun@insipidity.co.uk>
To:        ports@FreeBSD.org
Subject:   IglooFTP
Message-ID:  <1081818949.53272.9.camel@Shaun>

next in thread | raw e-mail | index | archive | help
Hi,
After compiling the IglooFTP 0.6.1 port on FreeBSD 5.2 Release, and
attempting to run it I got the error:

IglooFTP in free(): error: chunk is already free

This is fixed by removing one line in dir_tree.c, this is a patch which
fixes it:


*** dir_tree.c		Thu Apr 15 17:05:14 1999
--- dir_tree.c.fixed 	Tue Apr 13 01:49:23 2004
***************
*** 153,159 ****
  			      new_ptr[0] = 'B';
  			      gtk_ctree_node_set_row_data_full (ctree, parent, strdup
(new_ptr), (GtkDestroyNotify) free);
  			      free (new_ptr);
- 			      free (ptr);	// verify that this is a good thing to do       
  
  			      PARENT_BROWSED_FLAG = TRUE;
  			    }
--- 153,158 ----


-- 
Shaun Friedle
shaun@insipidity.co.uk





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1081818949.53272.9.camel>