[Devel] [ openser-Patches-1725396 ] mem leak in postgres modul

SourceForge.net noreply at sourceforge.net
Fri May 25 16:44:44 CEST 2007


Patches item #1725396, was opened at 2007-05-25 12:26
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1725396&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
>Status: Closed
>Resolution: Accepted
Priority: 7
Private: No
Submitted By: Klaus Darilion (klaus_darilion)
>Assigned to: Bogdan (bogdan_iancu)
Summary: mem leak in postgres modul

Initial Comment:
Hi!

postgres module does not free DB_BLOB and DB_STR (although DB_STR is never returned from a query) correctly after a DB query.

Attached patch works for me (at least no more valgrind error message). Nevertheless it would be great if core developers and/or Norman could review the patch.



----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2007-05-25 17:44

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Klaus,

the patch seams correct to me, so I applied in on SVN trunk - if no side
effects are reported, I will make a backport to 1.2 also.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1725396&group_id=139143



More information about the Devel mailing list