Commit 8e262f87 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

twain_32: Ensure FreeLibrary is called on error case (coverity).

parent 17027a60
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment