talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 9fc2c3acb34df62339ea9daa8fe4eb569a1b8f7f
parent e5d028a1f543a4579683a7832419f635896b1417
Author: wwp <wwp@free.fr>
Date:   Thu, 19 Jan 2017 14:26:06 +0100

Fix a memory leak.

Diffstat:
Msrc/plugins/clamd/libclamd/clamd-plugin.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/plugins/clamd/libclamd/clamd-plugin.c b/src/plugins/clamd/libclamd/clamd-plugin.c @@ -536,6 +536,7 @@ Clamd_Stat clamd_verify_email(const gchar* path, response* result) { debug_print("command: %s\n", command); if (write(sock, command, strlen(command)) == -1) { debug_print("no connection (socket write)\n"); + g_free(command); return NO_CONNECTION; } g_free(command);