[asterisk-bugs] [Asterisk 0019245]: [patch] Missing calls to PQclear

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 9 09:24:06 CDT 2011


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19245 
====================================================================== 
Reported By:                byronclark
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19245
Category:                   Resources/res_config_pgsql
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.3.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-05 15:30 CDT
Last Modified:              2011-05-09 09:24 CDT
====================================================================== 
Summary:                    [patch] Missing calls to PQclear
Description: 
There are some code paths in res_config_pgsql that fail to call PQclear.
Most of the code paths are in error cases, so this is a minor issue.

The attached patch (against 1.8 svn) ensures that PQclear is called when
needed.

It looks like there are still a couple of instances where this may be
needed on trunk.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-09 09:24 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list