Fix double free for websockets with bad auth.

This commit is contained in:
Roger A. Light
2014-07-02 20:57:04 +01:00
parent a831281b3d
commit 2b300b718b
-1
View File
@@ -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;
}