mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
torture: Fix a memory leak
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -998,6 +998,7 @@ void torture_teardown_socket_dir(void **state)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(s->srv_config);
|
||||||
free(s->socket_dir);
|
free(s->socket_dir);
|
||||||
free(s->pcap_file);
|
free(s->pcap_file);
|
||||||
free(s->srv_pidfile);
|
free(s->srv_pidfile);
|
||||||
|
|||||||
Reference in New Issue
Block a user