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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user