mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[SETUPAPI]
Fix a memory leak CID 1250296 svn path=/trunk/; revision=69669
This commit is contained in:
@@ -552,6 +552,9 @@ cleanup:
|
||||
if (hKey != INVALID_HANDLE_VALUE)
|
||||
RegCloseKey(hKey);
|
||||
|
||||
if (Buffer && !ret)
|
||||
MyFree(Buffer);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user