Coverity CID 1599: Fix memory leak.
This commit is contained in:
parent
fc56e77334
commit
781d14720c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: map3270.c,v 1.14 2006/04/30 23:42:06 christos Exp $ */
|
||||
/* $NetBSD: map3270.c,v 1.15 2006/04/30 23:49:34 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
|
@ -34,7 +34,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)map3270.c 4.2 (Berkeley) 4/26/91";
|
||||
#else
|
||||
__RCSID("$NetBSD: map3270.c,v 1.14 2006/04/30 23:42:06 christos Exp $");
|
||||
__RCSID("$NetBSD: map3270.c,v 1.15 2006/04/30 23:49:34 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -951,5 +951,6 @@ int (*translator)(char *); /* Translates ascii string to integer */
|
|||
usePointer = 1;
|
||||
}
|
||||
(void) GetEntry();
|
||||
free(keybdPointer);
|
||||
return(firstentry.address);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue