svn commit: r207733 - head/usr.bin/rpcgen

Xin LI delphij at FreeBSD.org
Thu May 6 21:57:38 UTC 2010


Author: delphij
Date: Thu May  6 21:57:38 2010
New Revision: 207733
URL: http://svn.freebsd.org/changeset/base/207733

Log:
  Plug a memory leak.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/rpcgen/rpc_cout.c

Modified: head/usr.bin/rpcgen/rpc_cout.c
==============================================================================
--- head/usr.bin/rpcgen/rpc_cout.c	Thu May  6 20:58:23 2010	(r207732)
+++ head/usr.bin/rpcgen/rpc_cout.c	Thu May  6 21:57:38 2010	(r207733)
@@ -489,6 +489,7 @@ inline_struct(definition *def, int flag)
 			}
 			size = 0;
 			i = 0;
+			free(sizestr);
 			sizestr = NULL;
 			print_stat(indent + 1, &dl->decl);
 		}


More information about the svn-src-all mailing list