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.p1C8KfJB019751@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
------
master

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

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


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix memory leak in the server status window
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Someone forgot to "make style"