Commit 452fb5a6 authored by Nicolas Schneider's avatar Nicolas Schneider Committed by Ludovic Rousseau

Fix leaking an allocated bundle in case no matching reader was found

parent 06ae9756
......@@ -787,6 +787,10 @@ end:
goto again_libusb;
}
#endif
/* free bundle list */
bundleRelease(&plist);
/* failed */
close_libusb_if_needed();
......
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