Fix infinite loop releasing the same memory in ldap_loadentry().
authorRichard Mudgett <rmudgett@digium.com>
Fri, 19 Aug 2011 17:24:56 +0000 (17:24 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 19 Aug 2011 17:24:56 +0000 (17:24 +0000)
commit0f92716dbb62d8c8df013668bcd86835b8f8b85d
tree69b14f2f32381a21a76ddf771587923fbdb7608e
parentd2af16a86c515c6d563cbb3eb30fcfdd5b59ec6a
Fix infinite loop releasing the same memory in ldap_loadentry().

* Fixed memory leak of vars in ldap_loadentry().

* Fixed potential NULL ptr dereference of vars in ldap_loadentry().

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