pgAdmin3.cpp bug? - Mailing list pgadmin-hackers

From Adam H. Pendleton
Subject pgAdmin3.cpp bug?
Date
Msg-id 3F0D8C5B.1040809@fmonkey.net
Whole thread Raw
List 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


pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: FreeBSD snaphost
Next
From: "Dave Page"
Date:
Subject: Re: [pgadmin-support] Overloading functions that are used by operators.