1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-04-28 02:30:08 +00:00

Merge pull request #48 from haiwen/fix_mem_leak

Fix memory leak.
This commit is contained in:
Jiaqiang Xu 2019-11-01 18:00:22 +08:00 committed by GitHub
commit 35a19401d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,6 +377,7 @@ void searpc_free_client_with_pipe_transport (SearpcClient *client)
close(pipe_client->pipe_fd);
#endif
g_free (pipe_client);
g_free (data->service);
g_free (data);
searpc_client_free (client);
}