projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f2ed4
)
push2: null handle on failed open
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 18:46:36 +0000
(13:46 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:32 +0000
(14:59 -0500)
libs/surfaces/push2/push2.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/push2/push2.cc
b/libs/surfaces/push2/push2.cc
index 3fb5b6c372dbc8efbcee7686f5e68d3193082226..6700687ac2b9667701a7e7bc4bf807840af2c87d 100644
(file)
--- a/
libs/surfaces/push2/push2.cc
+++ b/
libs/surfaces/push2/push2.cc
@@
-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;
}