selphy/kodak: ensure we quite with a sane error code.

This commit is contained in:
Solomon Peachy 2013-02-02 12:49:02 -05:00
parent ab26c928c6
commit 9a0966438e
2 changed files with 3 additions and 0 deletions

View File

@ -617,6 +617,8 @@ top:
goto top;
/* All done, clean up */
ret = 0;
done_claimed:
libusb_release_interface(dev, iface);

View File

@ -650,6 +650,7 @@ top:
goto top;
/* Done printing */
ret = 0;
done_claimed:
libusb_release_interface(dev, iface);