pgAdmin III commit: Fix memory leak in the server status window

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix memory leak in the server status window
Date: 2011-02-12 08:20:41
Message-ID: 201102120820.p1C8KftB019755@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix memory leak in the server status window

In frmStatus::fillLogfileCombo() method, the set is defined and assigned, but
then as it has not enough rows to be "interesting" the function returns 0 and
exits. So "delete set;" is never called.

Report from Julius Tuskenis.

Branch
------
REL-1_12_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=110c05652a4c048c69b90a5314d7f0b50a5ff29a

Modified Files
--------------
CHANGELOG | 2 ++
pgadmin/frm/frmStatus.cpp | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Prajwal 2011-02-13 08:55:20 Re: pgAdmin III: Error on clicking "Display Objects" while doing a restore
Previous Message Dave Page 2011-02-12 06:45:11 Re: pgAdmin III: the debugger does not pre-populate default values for arguments