Coverity CID 3135: memory leak
This commit is contained in:
parent
d9a7dcfba5
commit
243d02dab5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exf.c,v 1.13 2005/06/07 13:26:26 he Exp $ */
|
||||
/* $NetBSD: exf.c,v 1.14 2006/05/27 04:15:42 jnemeth Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993, 1994
|
||||
@ -16,7 +16,7 @@
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)exf.c 10.49 (Berkeley) 10/10/96";
|
||||
#else
|
||||
__RCSID("$NetBSD: exf.c,v 1.13 2005/06/07 13:26:26 he Exp $");
|
||||
__RCSID("$NetBSD: exf.c,v 1.14 2006/05/27 04:15:42 jnemeth Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -180,6 +180,7 @@ file_init(sp, frp, rcv_name, flags)
|
||||
* try and open.
|
||||
*/
|
||||
if (file_spath(sp, frp, &sb, &exists))
|
||||
free(ep);
|
||||
return (1);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user