svn commit: r208325 - stable/8/usr.bin/rpcgen

Xin LI delphij at FreeBSD.org
Thu May 20 00:31:09 UTC 2010


Author: delphij
Date: Thu May 20 00:31:09 2010
New Revision: 208325
URL: http://svn.freebsd.org/changeset/base/208325

Log:
  MFC r207733:
  
  Plug memory leak.

Modified:
  stable/8/usr.bin/rpcgen/rpc_cout.c
Directory Properties:
  stable/8/usr.bin/rpcgen/   (props changed)

Modified: stable/8/usr.bin/rpcgen/rpc_cout.c
==============================================================================
--- stable/8/usr.bin/rpcgen/rpc_cout.c	Thu May 20 00:13:01 2010	(r208324)
+++ stable/8/usr.bin/rpcgen/rpc_cout.c	Thu May 20 00:31:09 2010	(r208325)
@@ -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-stable-8 mailing list