fixes pgsql double free of threadstorage
authorDavid Vossel <dvossel@digium.com>
Tue, 10 Nov 2009 15:27:45 +0000 (15:27 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 10 Nov 2009 15:27:45 +0000 (15:27 +0000)
commit4e14faaefe4edc5b1f32c2a42f2ac2acdcdc5541
tree984f74af5a97b0e86ab66ae16992f01741942537
parent5050e04101b9bfc1659ecdff1a1be86d66fc8ba8
fixes pgsql double free of threadstorage

A thread storage variable was being freed incorrectly, which
resulted in a double free if two queries were made in the same thread.

(closes issue #16011)
Reported by: cristiandimache
Patches:
      issue16011.diff uploaded by dvossel (license 671)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_config_pgsql.c