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

Clear the new convenience pointers: text_subtype and text_charset

in clear_convenience_ptrs() - otherwise they can be double-freed when the
message (smbmsg_t) is copied with smb_copymsgmem().
parent 0ab514e8
Branches
Tags
No related merge requests found
......@@ -914,6 +914,8 @@ static void clear_convenience_ptrs(smbmsg_t* msg)
msg->newsgroups=NULL;
msg->mime_version=NULL;
msg->content_type=NULL;
msg->text_subtype=NULL;
msg->text_charset=NULL;
msg->ftn_msgid=NULL;
msg->ftn_reply=NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment