Skip to content
Snippets Groups Projects
Commit a599acd3 authored by rswindell's avatar rswindell
Browse files

Negated last commit - whoever deletes the message index will free the

data fields.
parent 9e35807f
Branches
Tags
No related merge requests found
......@@ -2662,10 +2662,12 @@ BOOL bounce(smb_t* smb, smbmsg_t* msg, char* err, BOOL immediate)
|| (msg->idx.from==0 && msg->from_net.type==NET_NONE)
|| (msg->reverse_path!=NULL && *msg->reverse_path==0)) {
lprintf("0000 !Deleted undeliverable message from %s", msg->from);
#if 0 /* this is actually wrong... whoever deletes the index will free the data fields */
i=smb_freemsgdat(smb,msg->hdr.offset,smb_getmsgdatlen(msg),1);
if(i!=SMB_SUCCESS)
lprintf("0000 !ERROR %d (%s) freeing data blocks for undeliverable message"
,i,smb->last_error);
#endif
return(TRUE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment