]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix crash caused by unloading or reloading of res_http_post
authorMatthew Jordan <mjordan@digium.com>
Tue, 10 Apr 2012 19:57:30 +0000 (19:57 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 10 Apr 2012 19:57:30 +0000 (19:57 +0000)
commit0622cbe8d82835bbb746de7c1f12fbf9df485b10
treea59ff2faa3922891325e60bad368df8f8fde7a96
parentd8f65927bb369b890e052be8c91f63c862becd3a
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

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