mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
ASTProbe: stop leaking memory returned by xf86GetEntityInfo()
Fixes: 7ce3a2b ("Initial code release from ASPEED Technology Inc.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
284ce0321f
commit
53c78493f6
@@ -298,6 +298,7 @@ ASTProbe(DriverPtr drv, int flags)
|
||||
|
||||
foundScreen = TRUE;
|
||||
|
||||
free(pEnt);
|
||||
} /* end of if */
|
||||
} /* end of for-loop */
|
||||
} /* end of if flags */
|
||||
|
||||
Reference in New Issue
Block a user