drmModeFreeConnector: free encoders and properties
These were leaking. Signed-off-by: Keith Packard <keithp@keithp.com>main
parent
cdd325b59a
commit
0a24654129
|
@ -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…
Reference in New Issue