From owner-svn-src-stable@FreeBSD.ORG Thu May 20 00:31:51 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5C01065677; Thu, 20 May 2010 00:31:51 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DE0218FC21; Thu, 20 May 2010 00:31:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o4K0VpZL034487; Thu, 20 May 2010 00:31:51 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o4K0Vprx034485; Thu, 20 May 2010 00:31:51 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201005200031.o4K0Vprx034485@svn.freebsd.org> From: Xin LI Date: Thu, 20 May 2010 00:31:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r208326 - stable/7/usr.bin/rpcgen X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 00:31:52 -0000 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); }