diff --git a/lg-24-branch.patch b/lg-24-branch.patch index 9976909..08d3fec 100644 --- a/lg-24-branch.patch +++ b/lg-24-branch.patch @@ -114,3 +114,11 @@ diff -ru ./libgphoto2_port/libusb1/libusb1.c /home/marcus/projects/libgphoto2-2_ return (GP_OK); } +@@ -276,6 +276,7 @@ + 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); + } diff --git a/libgphoto2.changes b/libgphoto2.changes index 22c7a0d..cdba67f 100644 --- a/libgphoto2.changes +++ b/libgphoto2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 1 12:31:43 UTC 2012 - meissner@suse.com + +- fixed one missed gp_devs = NULL which led to more crashes + ------------------------------------------------------------------- Thu Jul 19 18:40:18 UTC 2012 - meissner@suse.com