Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libclamav/matcher-ac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,7 @@ inline static int ac_addspecial_add_alt_node(const char *subexpr, uint8_t sigopt
newnode->unique = 0;
ins->unique = 0;
} else if (wild == 0) { /* duplicate */
MPOOL_FREE(root->mempool, newnode->str);
MPOOL_FREE(root->mempool, newnode);
return CL_SUCCESS;
}
Expand Down