commit | eb76c7a93fe0866256cb44b7e0e47bc82506d896 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Dec 23 02:47:53 2010 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Jan 01 17:23:43 2011 +0100 |
tree | 26d8bfb97072ae3494f979d703895feb3c8f26a1 | |
parent | 0d6f93078580c6687cd386780419109c3b6e0dd1 [diff] |
mncc_sock: Fix potential segfault in case MNCC app dies We create a loop by not setting trans->callref = 0 before calling trans_free(), as the latter would again send a MNCC_REL_IND up the stack. Also: Fix memory leak in case we try to read from mncc_sock but socket is just gone.