pgAdmin III commit: Fix memory leak in the server status window - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix memory leak in the server status window
Date
Msg-id 201102120820.p1C8KftB019755@gothos.postgresql.org
Whole thread Raw
List 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(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix memory leak in the server status window