diff options
author | Boram Park <boram1288.park@samsung.com> | 2011-10-01 09:30:09 +0900 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2020-05-05 11:47:18 +0100 |
commit | 7915b0a68d813a8fe802a41108b42293c21ae03b (patch) | |
tree | a52498331c3b954eeb5eb86477ca90c9f49e8196 /xf86drmMode.c | |
parent | 5aa83dd6fa2bbfeb098877898d10261b2ec4f2d0 (diff) | |
download | libdrm-7915b0a68d813a8fe802a41108b42293c21ae03b.tar.gz libdrm-7915b0a68d813a8fe802a41108b42293c21ae03b.tar.bz2 libdrm-7915b0a68d813a8fe802a41108b42293c21ae03b.zip |
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>
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r-- | xf86drmMode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c index 4052e031..5af27c4a 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -683,6 +683,7 @@ drm_public void drmModeFreeProperty(drmModePropertyPtr ptr) drmFree(ptr->values); drmFree(ptr->enums); + drmFree(ptr->blob_ids); drmFree(ptr); } |