SHA256
1
0
forked from pool/libgphoto2

- fixed one missed gp_devs = NULL which led to more crashes

OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=73
This commit is contained in:
Marcus Meissner 2012-08-01 12:32:02 +00:00 committed by Git OBS Bridge
parent 96309d9266
commit 55fb6e0a50
2 changed files with 13 additions and 0 deletions

View File

@ -114,3 +114,11 @@ diff -ru ./libgphoto2_port/libusb1/libusb1.c /home/marcus/projects/libgphoto2-2_
return (GP_OK); 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);
}

View File

@ -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 Thu Jul 19 18:40:18 UTC 2012 - meissner@suse.com