-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3141/
-----------------------------------------------------------

Review request for Asterisk Developers and Mark Michelson.


Repository: Asterisk


Description
-------

Updates most PGResult setting to use RAII_VAR and uses PQCLEAR as the cleanup 
function. I checked the PGSQL library source and this function is NULL safe so 
it doesn't appear to need a wrapper.

There was one location previously which had a PGResult being set without any 
call to PQClear.


Diffs
-----

  /branches/1.8/res/res_config_pgsql.c 405858 

Diff: https://reviewboard.asterisk.org/r/3141/diff/


Testing
-------

Made Asterisk use res_config_pgsql to perform some queries for queues and queue 
members.  Made sure it didn't crash.


Thanks,

Jonathan Rose

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to