Skip to content

Fix GetProps buffer leak in OutputMessageMSG#985

Open
Ramya-9353 wants to merge 1 commit into
microsoft:mainfrom
Ramya-9353:fix/free-getprops-buffer
Open

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

Conversation

@Ramya-9353

Copy link
Copy Markdown

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.

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.

1 participant