Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1Oh4-0001EA-Af for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 21:30:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1Oh1-0006i7-CO for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 21:30:30 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7ELUPGx013648; Tue, 14 Aug 2012 17:30:25 -0400 (EDT) From: Tom Lane To: Joe Tennant cc: pgsql-bugs@postgresql.org Subject: Re: Possible memory leak/memory issue in pg_dump In-reply-to: References: Comments: In-reply-to Joe Tennant message dated "Tue, 14 Aug 2012 13:42:50 -0400" Date: Tue, 14 Aug 2012 17:30:25 -0400 Message-ID: <13647.1344979825@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/87 X-Sequence-Number: 33811 Joe Tennant writes: > While browsing the code, "pg_dump.c" the following block *appears* to > be problematic. Additionally, there *appears* to be a malloc without a > free (return or assignment) in the function "getBlobs(Archive *AH)" > (pg_dump.c lines 2169 thru 2188 v9.1.4). All those data structures are supposed to survive for the life of the pg_dump run, so this isn't a leak. regards, tom lane