Commit dd40295c authored by Jocelyn Turcotte's avatar Jocelyn Turcotte
Browse files

Fix a PIDLIST_ABSOLUTE leak in QQmlEngine on Windows


The documentation of SHParseDisplayName doesn't mention that you need
to free the ppidl parameter, but the documentation of the ITEMIDLIST
does mention that you need to ILFree any ITEMIDLIST passed as
PIDLIST_ABSOLUTE.

Reproduced the leak by repeatedly showing and closing the window on
the task's example.

Task-number: QTBUG-41588
Change-Id: I91d08728fc907c59e56ae344a2d12f0865031120
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 9b965f3f
Showing with 5 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment