mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 21:43:36 -04:00
windows: Fix undeclared variable name in register_error()
Signed-off-by: Kubicz, Filip <Filip.Kubicz@nordicsemi.no>
This commit is contained in:
committed by
Filip Kubicz
parent
35c5b2e404
commit
c4f86a7d85
+2
-2
@@ -195,8 +195,8 @@ static void register_error(hid_device *dev, const char *op)
|
||||
|
||||
/* Store the message off in the Device entry so that
|
||||
the hid_error() function can pick it up. */
|
||||
LocalFree(device->last_error_str);
|
||||
device->last_error_str = msg;
|
||||
LocalFree(dev->last_error_str);
|
||||
dev->last_error_str = msg;
|
||||
}
|
||||
|
||||
#ifndef HIDAPI_USE_DDK
|
||||
|
||||
Reference in New Issue
Block a user