From d4a8e0f8f2f5d4c10a9abb97e80458f66f0046d2 Mon Sep 17 00:00:00 2001 From: pfelt Date: Sat, 25 Apr 2009 03:15:31 +0000 Subject: [PATCH] -- fix a double free in avirus -- the last commit also committed building rules by default --- src/agents/avirus/avirus.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/agents/avirus/avirus.c b/src/agents/avirus/avirus.c index 3c38ea7..0f93cdc 100755 --- a/src/agents/avirus/avirus.c +++ b/src/agents/avirus/avirus.c @@ -49,12 +49,6 @@ AVirusClientFree(void *client) { register AVirusClient *c = client; - if (c->conn) { - ConnClose(c->conn, 1); - ConnFree(c->conn); - c->conn = NULL; - } - if (c->envelope) { MemFree(c->envelope); }