Check if we actually have an initiating packet to free while processing responses
This commit is contained in:
@@ -978,7 +978,7 @@ static status_t process_response(private_task_manager_t *this,
|
||||
enumerator->destroy(enumerator);
|
||||
|
||||
this->initiating.type = EXCHANGE_TYPE_UNDEFINED;
|
||||
this->initiating.packet->destroy(this->initiating.packet);
|
||||
DESTROY_IF(this->initiating.packet);
|
||||
this->initiating.packet = NULL;
|
||||
|
||||
if (this->queued && this->active_tasks->get_count(this->active_tasks) == 0)
|
||||
|
||||
Reference in New Issue
Block a user