Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 00:31:09 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r208325 - stable/8/usr.bin/rpcgen
Message-ID:  <201005200031.o4K0V9EV034273@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005200031.o4K0V9EV034273>