diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/PassivGrab.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/PassivGrab.c b/src/PassivGrab.c index bece0d9..6457a08 100644 --- a/src/PassivGrab.c +++ b/src/PassivGrab.c @@ -194,10 +194,8 @@ static void FreeGrab( { if (pGrab->hasExt) { XtServerGrabExtPtr ext = GRABEXT(pGrab); - if (ext->pModifiersMask) - XtFree((char *)ext->pModifiersMask); - if (ext->pKeyButMask) - XtFree((char *)ext->pKeyButMask); + XtFree((char *)ext->pModifiersMask); + XtFree((char *)ext->pKeyButMask); } XtFree((char *)pGrab); } |