mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
twain_32: Ensure FreeLibrary is called on error case (coverity).
This commit is contained in:
parent
17027a60b0
commit
8e262f8736
@ -75,7 +75,7 @@ twain_add_onedriver(const char *dsname) {
|
||||
ret = dsEntry (&fakeOrigin, DG_CONTROL, DAT_IDENTITY, MSG_GET, &sourceId);
|
||||
if (ret != TWRC_SUCCESS) {
|
||||
ERR("Source->(DG_CONTROL,DAT_IDENTITY,MSG_GET) failed!\n");
|
||||
return;
|
||||
break;
|
||||
}
|
||||
TRACE("Manufacturer: %s\n", debugstr_a(sourceId.Manufacturer));
|
||||
TRACE("ProductFamily: %s\n", debugstr_a(sourceId.ProductFamily));
|
||||
|
Loading…
Reference in New Issue
Block a user