diff --git a/usr.bin/rpcgen/rpc_parse.c b/usr.bin/rpcgen/rpc_parse.c index 54412bb299ab..d9ebf608d84c 100644 --- a/usr.bin/rpcgen/rpc_parse.c +++ b/usr.bin/rpcgen/rpc_parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: rpc_parse.c,v 1.13 2004/06/20 22:20:16 jmc Exp $ */ +/* $NetBSD: rpc_parse.c,v 1.14 2006/03/20 17:03:08 elad Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI"; #else -__RCSID("$NetBSD: rpc_parse.c,v 1.13 2004/06/20 22:20:16 jmc Exp $"); +__RCSID("$NetBSD: rpc_parse.c,v 1.14 2006/03/20 17:03:08 elad Exp $"); #endif #endif @@ -100,6 +100,7 @@ get_definition() def_const(defp); break; case TOK_EOF: + free(defp); return (NULL); default: error("definition keyword expected");