Fix double free for websockets with bad auth.

pull/211/merge
Roger A. Light 11 years ago
parent a831281b3d
commit 2b300b718b

@ -638,7 +638,6 @@ handle_connect_error:
#endif
if(context){
mqtt3_context_disconnect(db, context);
HASH_ADD_KEYPTR(hh_for_free, db->contexts_for_free, context, sizeof(void *), context);
}
return rc;
}

Loading…
Cancel
Save