Andrew Chernow escribió: > Alvaro Herrera wrote: >> Andrew Chernow escribió:
>>> * PQclear - >>> * free's the memory associated with a PGresult >>> */ >> >> I'd add a comment here stating why the event name is not deallocated; >> otherwise it just looks like it's being leaked. > > The event name is being deallocated. Doh! Sorry, you're right. In that case, you're missing a NULL result check from strdup() in dupEvents() ;-) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers