mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
fix warning in fe-fuzz/server-fuzz
This commit is contained in:
parent
991e24fb27
commit
3447904a5c
@ -115,6 +115,7 @@ void test_server() {
|
||||
conn = server_create_conn(proto->id, "localhost", 0, "", "", "user");
|
||||
server = proto->server_init_connect(conn);
|
||||
server->session_reconnect = TRUE;
|
||||
g_free(server->tag);
|
||||
server->tag = g_strdup("testserver");
|
||||
|
||||
/* we skip some initialisations that would try to send data */
|
||||
@ -176,6 +177,6 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
|
||||
g_strfreev(head);
|
||||
g_free(copy);
|
||||
server_unref(server);
|
||||
server_disconnect(server);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user