mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:30:50 +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 a new issue