mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 17:44:08 +08:00
Fix double free for websockets with bad auth.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user