From 9458e59200b8e07a70caa16a301d6bb6a4cd358ee594c9e80ba57eaf180a7bc2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 1 Aug 2012 15:01:18 +0000 Subject: [PATCH] the device list is freed by the libusb_exit above OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=75 --- lg-24-branch.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lg-24-branch.patch b/lg-24-branch.patch index 08d3fec..f7eec42 100644 --- a/lg-24-branch.patch +++ b/lg-24-branch.patch @@ -114,10 +114,10 @@ diff -ru ./libgphoto2_port/libusb1/libusb1.c /home/marcus/projects/libgphoto2-2_ return (GP_OK); } -@@ -276,6 +276,7 @@ +@@ -276,6 +276,6 @@ port->pl = NULL; } - if (gp_devs) libusb_free_device_list (gp_devs, 1); +- if (gp_devs) libusb_free_device_list (gp_devs, 1); + gp_devs = NULL; gp_nrofdevs = 0; free (gp_descs); return (GP_OK);