mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
drmModeFreeConnector: free encoders and properties
These were leaking. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
cdd325b59a
commit
0a24654129
1 changed files with 3 additions and 0 deletions
|
|
@ -116,6 +116,9 @@ void drmModeFreeConnector(drmModeConnectorPtr ptr)
|
||||||
if (!ptr)
|
if (!ptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
drmFree(ptr->encoders);
|
||||||
|
drmFree(ptr->prop_values);
|
||||||
|
drmFree(ptr->props);
|
||||||
drmFree(ptr->modes);
|
drmFree(ptr->modes);
|
||||||
drmFree(ptr);
|
drmFree(ptr);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue