Fix locking issues with channel datastores in func_odbc.c.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 24 Jan 2012 17:04:20 +0000 (17:04 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 24 Jan 2012 17:04:20 +0000 (17:04 +0000)
commit2144ba5df2813609024964c4c2d9060b30d5cd43
tree4a9b5856e9f988a9fbdc5bdde610c146aaf5a841
parent84aea92ba7b71ff17aa9c1d3ed05345d3fb570c0
Fix locking issues with channel datastores in func_odbc.c.

* Fixed a potential memory leak when an existing datastore is manually
destroyed by inline code instead of calling ast_datastore_free().

(closes issue ASTERISK-17948)
Reported by: Archie Cobbs

Review: https://reviewboard.asterisk.org/r/1687/
........

Merged revisions 352291 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 352292 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_odbc.c