drm mode : fix memory leak when freeing drmModePropertyPtr
Closes: https://gitlab.freedesktop.org/mesa/drm/-/issues/5 Signed-off-by: Emil Velikov <emil.velikov@collabora.com>main
parent
5aa83dd6fa
commit
7915b0a68d
|
@ -683,6 +683,7 @@ drm_public void drmModeFreeProperty(drmModePropertyPtr ptr)
|
||||||
|
|
||||||
drmFree(ptr->values);
|
drmFree(ptr->values);
|
||||||
drmFree(ptr->enums);
|
drmFree(ptr->enums);
|
||||||
|
drmFree(ptr->blob_ids);
|
||||||
drmFree(ptr);
|
drmFree(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue