Fix double free()
This commit is contained in:
parent
550740f715
commit
bb5865d368
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue