summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-10-20 15:33:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-10-20 15:33:42 +0000
commitb74faca34f3414d1210c4465253660312744b53c (patch)
treeced0c47b9a6c33d3d907760089f788f93a8cad73
parent17c1bf5a60031045a0a06675116990b66f0efb0d (diff)
Don't attempt to free uninitialized variable; guenther@gac.edu
-rw-r--r--lib/libcurses/tinfo/read_termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/tinfo/read_termcap.c b/lib/libcurses/tinfo/read_termcap.c
index d1ff65a1354..b8a227db947 100644
--- a/lib/libcurses/tinfo/read_termcap.c
+++ b/lib/libcurses/tinfo/read_termcap.c
@@ -769,7 +769,7 @@ _nc_tgetent(char *bp, char **sourcename, int *lineno, const char *name)
register char *p;
register char *cp;
- char *dummy;
+ char *dummy = NULL;
char **fname;
char *home;
int i;