summaryrefslogtreecommitdiff
path: root/plugins/ommail/ommail.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ommail/ommail.c')
-rw-r--r--plugins/ommail/ommail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/ommail/ommail.c b/plugins/ommail/ommail.c
index 910b371..113385f 100644
--- a/plugins/ommail/ommail.c
+++ b/plugins/ommail/ommail.c
@@ -158,8 +158,6 @@ addRcpt(void __attribute__((unused)) *pVal, uchar *pNewVal)
finalize_it:
if(iRet != RS_RET_OK) {
- if(pNew != NULL)
- free(pNew);
free(pNewVal); /* in any case, this is no longer needed */
}