fixed sender destruction order

This commit is contained in:
Martin Willi
2008-11-05 12:24:36 +00:00
parent a492eb2033
commit 465fe85ee1
+2 -2
View File
@@ -122,11 +122,11 @@ static void destroy(private_sender_t *this)
this->sent->wait(this->sent, this->mutex);
}
this->mutex->unlock(this->mutex);
this->job->cancel(this->job);
this->list->destroy(this->list);
this->got->destroy(this->got);
this->sent->destroy(this->sent);
this->mutex->destroy(this->mutex);
this->job->cancel(this->job);
this->list->destroy(this->list);
free(this);
}