summaryrefslogtreecommitdiff
path: root/sys/uvch264
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvch264')
-rw-r--r--sys/uvch264/gstuvch264_src.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c
index 0c57efc48..2ab7575ef 100644
--- a/sys/uvch264/gstuvch264_src.c
+++ b/sys/uvch264/gstuvch264_src.c
@@ -1809,6 +1809,7 @@ xu_get_id (GstUvcH264Src * self)
GST_DEBUG_OBJECT (self, "Found H264 XU unit : %d", unit_id);
+ libusb_free_config_descriptor (config);
libusb_unref_device (device);
return unit_id;
}
@@ -1816,6 +1817,7 @@ xu_get_id (GstUvcH264Src * self)
}
}
}
+ libusb_free_config_descriptor (config);
}
}
}