[0.4.9] [SETUPAPI] Apply yet uncommitted fix for CORE-12616 PR-408
authorJoachim Henze <Joachim.Henze@reactos.org>
Tue, 6 Mar 2018 20:20:31 +0000 (21:20 +0100)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sun, 20 May 2018 20:50:15 +0000 (22:50 +0200)
commitad20c373580ccf64ad14ecdce0895ab27bc93e29
tree70e52aea365db4fcd2d4d323f7c04cdd51d774aa
parent4127f70e948a2bb30a3d960053263a68c64d6150
[0.4.9] [SETUPAPI] Apply yet uncommitted fix for CORE-12616 PR-408

This commit was *not* committed to master yet.
I'll leave the ticket unresolved until it'll be.

This fixes a regression introduced in SVN r73442:
Our setup created undesired temporary files and left them
in the temp folder. Also we saw a slight one-time-increase
in memory consumption.

This patch was the work of Carlo Bramini
He proposed the fix on 2016-12-30 already.

There are ongoing discussions about an alternative approach
to the initial problem that SVN r73442 tried to address.
Serge Gautherie can and shall be evaluate that alternative
later during 0.4.10dev.

For now many thanks to Carlo Bramini for this fix.

(cherry picked from commit dba2f743c586395c4cccb68e742a1273d0d310a9)
dll/win32/setupapi/queue.c