Skip to content

xf86drm: fix mem leak in drm_usb_dev_path()

Eric Engestrom requested to merge eric/libdrm:xf86drm-mem-leak into main

sysfs_uevent_get() returns a strndup()ed string, which must be free()d.

Fixes: bf63f8ac ("libdrm: Handle usb_interface devices for usb parsing")


/cc @evelikov since you reviewed !45 (merged) :)

Merge request reports

Loading