Commit 6086a606 authored by Keith Packard's avatar Keith Packard Committed by Peter Hutterer

xf8CrtcSetModeTransform: free adjusted_mode name too

The adjusted mode was freed, but any name allocated for that was leaked.
Signed-off-by: Keith Packard's avatarKeith Packard <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 08810782
......@@ -384,7 +384,9 @@ done:
crtc->transformPresent = saved_transform_present;
if (adjusted_mode->name)
if (didLock)
crtc->funcs->unlock (crtc);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment