Skip to content

Fix GetProps buffer leak in OutputMessageMSG#985

Closed
Ramya-9353 wants to merge 2 commits into
microsoft:mainfrom
Ramya-9353:fix/free-getprops-buffer
Closed

Fix GetProps buffer leak in OutputMessageMSG#985
Ramya-9353 wants to merge 2 commits into
microsoft:mainfrom
Ramya-9353:fix/free-getprops-buffer

Conversation

@Ramya-9353

Copy link
Copy Markdown
Contributor

Release the buffer returned by GetProps in OutputMessageMSG by calling MAPIFreeBuffer(lpsProps) before the function returns.
This fixes a memory leak while preserving the existing behavior.

@stephenegriffin

Copy link
Copy Markdown
Member

Duped by #990 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants