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:
Alan Coopersmith
2025-07-27 13:53:34 -07:00
committed by Enrico Weigelt, metux IT consult
parent 284ce0321f
commit 53c78493f6

View File

@@ -298,6 +298,7 @@ ASTProbe(DriverPtr drv, int flags)
foundScreen = TRUE;
free(pEnt);
} /* end of if */
} /* end of for-loop */
} /* end of if flags */