mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 03:48:04 +02:00
Remove another if (E != NULL) check around free(E)
I wonder if there are any other patterns we haven't seen yet? Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b2015a2c01
commit
2dc5ba4a1b
1 changed files with 0 additions and 2 deletions
|
|
@ -98,8 +98,6 @@ fbdevHWFreeRec(ScrnInfoPtr pScrn)
|
|||
{
|
||||
if (fbdevHWPrivateIndex < 0)
|
||||
return;
|
||||
if (FBDEVHWPTR(pScrn) == NULL)
|
||||
return;
|
||||
free(FBDEVHWPTR(pScrn));
|
||||
FBDEVHWPTRLVAL(pScrn) = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue