Skip to content
Commit 1a4c0ec9 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

xf86drm: fix mem leak in drm_usb_dev_path()



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

Fixes: bf63f8ac ("libdrm: Handle usb_interface devices for usb parsing")
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 1d29e1df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment