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:
Marcus Meissner
2012-08-01 15:04:24 +00:00
parent b6de622204
commit 5d4e3b1c3f

View File

@@ -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);