mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-10 03:30:16 +01:00
xfree86: fix memory leak in xf86ConfigFbEntity
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Nicolas Peninguy <nico@lostgeeks.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5273d0f959
commit
7a666aa00b
1 changed files with 1 additions and 0 deletions
|
|
@ -1931,6 +1931,7 @@ xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex,
|
|||
|
||||
xf86SetEntityFuncs(entityIndex,init,enter,leave,private);
|
||||
|
||||
free(pEnt);
|
||||
return pScrn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue