projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d028a
)
Fix a memory leak.
author
wwp
<wwp@free.fr>
Thu, 19 Jan 2017 13:26:06 +0000
(14:26 +0100)
committer
wwp
<wwp@free.fr>
Thu, 19 Jan 2017 13:26:06 +0000
(14:26 +0100)
src/plugins/clamd/libclamd/clamd-plugin.c
patch
|
blob
|
history
diff --git
a/src/plugins/clamd/libclamd/clamd-plugin.c
b/src/plugins/clamd/libclamd/clamd-plugin.c
index 8152d1dfd75b7b8758d6cb61760c1bc566d8bedb..65b8393b57e9758a64c358e02afdb7d23a885a3c 100644
(file)
--- 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);