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
Boram Park 2011-10-01 09:30:09 +09:00 committed by Emil Velikov
parent 5aa83dd6fa
commit 7915b0a68d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }