summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/tinfo
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-10-20 15:33:41 +0000
committermillert <millert@openbsd.org>2000-10-20 15:33:41 +0000
commit74d8650b7ec1ec6fa44dba24c0abc649ca61053b (patch)
tree11060bd23c0960bb088bf229cf0f65fa54394827 /lib/libcurses/tinfo
parentnot 2.8-beta anymore, however, the actual cutting-off point for the release (diff)
downloadwireguard-openbsd-74d8650b7ec1ec6fa44dba24c0abc649ca61053b.tar.xz
wireguard-openbsd-74d8650b7ec1ec6fa44dba24c0abc649ca61053b.zip
Don't attempt to free uninitialized variable; guenther@gac.edu
Diffstat (limited to 'lib/libcurses/tinfo')
-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;