reg/tests: Free the WCHAR memory buffer if CreateFile() fails.
commite0a97d32e24528128b874641393107bac0591fd1
authorHugh McMaster <hugh.mcmaster@outlook.com>
Wed, 23 Aug 2017 12:31:56 +0000 (23 12:31 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Aug 2017 23:41:58 +0000 (24 08:41 +0900)
tree13683ea7cde239d68f3c10eac5eb4f5d46c2bb2c
parentc618e99475f201a68d427132338a95a8812c43f6
reg/tests: Free the WCHAR memory buffer if CreateFile() fails.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
programs/reg/tests/reg.c