pgAdmin3.cpp bug?

From: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin3.cpp bug?
Date: 2003-07-10 15:55:07
Message-ID: 3F0D8C5B.1040809@fmonkey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

At line 284 of pgAdmin3.cpp, the code reads:

return 1;

// Keith 2003.03.05
// We must delete this after cleanup to prevent memory leaks
delete logger;
}

Unless I am missing something, doesn't the "return 1" prevent the
"delete logger" code from ever being called? And, according to the
comment, it seems like code that ought the run.

ahp

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-07-11 19:32:01 pga3: Feature Freeze
Previous Message Hiroshi Saito 2003-07-10 15:46:56 Re: FreeBSD snaphost