svn commit: r208326 - stable/7/usr.bin/rpcgen

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


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

Log:
  MFC r207733:
  
  Plug memory leak.

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

Modified: stable/7/usr.bin/rpcgen/rpc_cout.c
==============================================================================
--- stable/7/usr.bin/rpcgen/rpc_cout.c	Thu May 20 00:31:09 2010	(r208325)
+++ stable/7/usr.bin/rpcgen/rpc_cout.c	Thu May 20 00:31:51 2010	(r208326)
@@ -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