From 5d4e3b1c3fa84f16dc3ecb37469adf7a808ff9c0 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 1 Aug 2012 15:04:24 +0000 Subject: [PATCH] the devices are freed a bit up git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14080 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/libusb1/libusb1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libgphoto2_port/libusb1/libusb1.c b/libgphoto2_port/libusb1/libusb1.c index 5cb22fab5..60c4b1369 100644 --- a/libgphoto2_port/libusb1/libusb1.c +++ b/libgphoto2_port/libusb1/libusb1.c @@ -276,7 +276,6 @@ gp_port_usb_exit (GPPort *port) free (port->pl); port->pl = NULL; } - if (gp_devs) libusb_free_device_list (gp_devs, 1); gp_devs = NULL; gp_nrofdevs = 0; free (gp_descs); return (GP_OK);