projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e55426
)
Also free the pointer returned by readline().
author
Ivo Timmermans
<ivo@lychnis.net>
Wed, 29 Nov 2000 14:30:07 +0000
(14:30 +0000)
committer
Ivo Timmermans
<ivo@lychnis.net>
Wed, 29 Nov 2000 14:30:07 +0000
(14:30 +0000)
src/conf.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index
aaa4489
..
5693588
100644
(file)
--- 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.2
5 2000/11/29 14:27:24
zarq Exp $
+ $Id: conf.c,v 1.9.4.2
6 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;