Commit 5cf83a72 authored by Matt Johnston's avatar Matt Johnston
Browse files

Avoid use-after-free when channel inithandler fails. Thanks to Coverity

parent 7808eff0
......@@ -1089,6 +1089,7 @@ void recv_msg_channel_open_confirmation() {
if (ret > 0) {
remove_channel(channel);
TRACE(("inithandler returned failure %d", ret))
return;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment