kinect_upload_fw: fix issues shown by valgrind --leak-check=full --show-reachable=yes
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 11:59:17 +0000 (13:59 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 12:01:07 +0000 (14:01 +0200)
commit33509a9b17731672efb1215487538dfedb18ddce
tree5dc80da504795b90e890793c35c792029dd89a09
parent19bf8b8b7bdf5db13a5506eafabe1aec15a65aaa
kinect_upload_fw: fix issues shown by valgrind --leak-check=full --show-reachable=yes

Fix a "possibly lost" issue due to a missing call to libusb_exit() when
exiting after libusb_open_device_with_vid_pid() fails.

Fix a "still reachable" issue due to a missing fclose().
kinect_upload_fw/kinect_upload_fw.c