Device/Descriptor: fix double free() bug in OpenOnPort()
commitd9461c185e08cc8833fdf7c109a6d6618f2da33f
authorMax Kellermann <max@duempel.org>
Mon, 6 May 2013 21:18:30 +0000 (6 23:18 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 6 May 2013 21:18:30 +0000 (6 23:18 +0200)
tree374c6ae7eb6fb474879fe7dc3649fc6c2666174c
parent5deb60b02c05e7f529f00c4ad2ad0b81d2e83c4d
Device/Descriptor: fix double free() bug in OpenOnPort()

When the user cancels the operation, clean up.  Fixes a regression by
commit 7b530132.
src/Device/Descriptor.cpp