Fix crash caused by unloading or reloading of res_http_post
authorMatthew Jordan <mjordan@digium.com>
Tue, 10 Apr 2012 19:58:04 +0000 (19:58 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 10 Apr 2012 19:58:04 +0000 (19:58 +0000)
commit3d7b9e7fb152c0a439f4c908efe2a2d95f3a946a
tree250ffec0fac7e2b3782772957d987c9a86ce6a09
parent38c0a624137aa2bd8b040496869480683452c1d5
Fix crash caused by unloading or reloading of res_http_post

When unlinking itself from the registered HTTP URIs, res_http_post could
inadvertently free all URIs registered with the HTTP server.  This patch
modifies the unregister method to only free the URI that is actually
being unregistered, as opposed to all of them.
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c