-- fix a double free in avirus
-- the last commit also committed building rules by default
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user