Fix double free()

This commit is contained in:
Jan Vidar Krey 2013-03-24 09:47:32 +01:00
parent 550740f715
commit bb5865d368
1 changed files with 0 additions and 1 deletions

View File

@ -237,7 +237,6 @@ static void perf_update(struct ADC_client* client)
static void client_disconnect(struct AdcFuzzUser* c) static void client_disconnect(struct AdcFuzzUser* c)
{ {
ADC_client_destroy(c->client); ADC_client_destroy(c->client);
hub_free(c->client);
c->client = 0; c->client = 0;
timeout_queue_remove(net_backend_get_timeout_queue(), c->timer); timeout_queue_remove(net_backend_get_timeout_queue(), c->timer);