Skip to content

Commit 9e2fbc2

Browse files
authored
Merge pull request #310 from thegushi/fix/issue-182-arcdomain-memleak
Fix arcdomain memory leak in mlfi_eom (issue #182)
2 parents c48a74c + 4ddfb82 commit 9e2fbc2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

opendmarc/opendmarc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2970,6 +2970,7 @@ mlfi_eom(SMFICTX *ctx)
29702970
eptr = hsearch(entry,
29712971
FIND);
29722972
pthread_rwlock_unlock(&hash_lock);
2973+
free(arcdomain);
29732974
if (eptr == NULL)
29742975
continue;
29752976

0 commit comments

Comments
 (0)