summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-05 09:58:39 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-05 09:58:39 +0000
commitc6a658270d9f55fcc6644a851c4344f9ac9ff2dc (patch)
tree19eb6390e98befa451e61c3419f4842550f4e7be /lib
parent09db691aace3540fae20bc38388c758a2e6305dd (diff)
remove wrong free() after realloc().
ok miod millert markus
Diffstat (limited to 'lib')
-rw-r--r--lib/libkeynote/environment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libkeynote/environment.c b/lib/libkeynote/environment.c
index e766c8959e7..cf041afeb75 100644
--- a/lib/libkeynote/environment.c
+++ b/lib/libkeynote/environment.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: environment.c,v 1.19 2004/06/29 11:35:56 msf Exp $ */
+/* $OpenBSD: environment.c,v 1.20 2005/01/05 09:58:38 hshoexer Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -893,7 +893,6 @@ kn_read_asserts(char *buffer, int bufferlen, int *numassertions)
return (char **) NULL;
}
- free(buf); /* Free old buffer */
buf = tempbuf;
bufsize *= 2;
}