mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
push2: null handle on failed open
This commit is contained in:
parent
81f2ed452b
commit
5e6249b7b1
1 changed files with 1 additions and 0 deletions
|
|
@ -241,6 +241,7 @@ Push2::open ()
|
|||
error << _("Cannot construct Canvas for display") << endmsg;
|
||||
libusb_release_interface (handle, 0x00);
|
||||
libusb_close (handle);
|
||||
handle = 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue