]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Make sip_destroy() return NULL so the caller can do things like
authorLuigi Rizzo <rizzo@icir.org>
Sun, 22 Jul 2007 21:00:10 +0000 (21:00 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 22 Jul 2007 21:00:10 +0000 (21:00 +0000)
commit930bf0402dfa5de2a81e9de3452b6994ec16eb09
tree7959e2457e68cb72ad5589ec6f64980cf950b81a
parent97512a856f722a9b148b4c2b66bb91a6928d9a34
Make sip_destroy() return NULL so the caller can do things like
     foo = sip_destroy(foo);
and reduce the chance of bugs due to dangling pointers.

Also remove a duplicate prototype for the function.

nothing to backport.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c