From: Ivo Timmermans Date: Wed, 29 Nov 2000 14:30:07 +0000 (+0000) Subject: Also free the pointer returned by readline(). X-Git-Tag: release-1.0pre4~112 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d36da1948abdd27e9d0740c2baceb0bd155c18c6;p=tinc Also free the pointer returned by readline(). --- diff --git a/src/conf.c b/src/conf.c index aaa44899..56935884 100644 --- a/src/conf.c +++ b/src/conf.c @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.c,v 1.9.4.25 2000/11/29 14:27:24 zarq Exp $ + $Id: conf.c,v 1.9.4.26 2000/11/29 14:30:07 zarq Exp $ */ #include "config.h" @@ -252,8 +252,10 @@ cp cfg->which = hazahaza[i].which; if(!config) config = cfg; + free(line); } + free(line); fclose (fp); cp return err;