mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[SETUPAPI]
Don't leak memory CID 716460 svn path=/trunk/; revision=69670
This commit is contained in:
@@ -5777,6 +5777,8 @@ cleanup:
|
||||
RegCloseKey(hEnumKey);
|
||||
if (hKey != NULL && hKey != key)
|
||||
RegCloseKey(hKey);
|
||||
if (DriverKey)
|
||||
HeapFree(GetProcessHeap(), 0, DriverKey);
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user