diff options
Diffstat (limited to 'hw/xfree86/vgahw/vgaHW.c')
-rw-r--r-- | hw/xfree86/vgahw/vgaHW.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c index 3ae2dfa5a..b6832c30a 100644 --- a/hw/xfree86/vgahw/vgaHW.c +++ b/hw/xfree86/vgahw/vgaHW.c @@ -1479,8 +1479,7 @@ vgaHWGetHWRecPrivate(void) static void vgaHWFreeRegs(vgaRegPtr regp) { - if (regp->CRTC) - free(regp->CRTC); + free(regp->CRTC); regp->CRTC = regp->Sequencer = |