From b10a017446f7c8623283637159833eb4388ecabf Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 28 Dec 2014 19:46:25 -0800 Subject: [PATCH] events: Don't bother free-guarding free already takes NULL just fine. --- src/x11/events.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11/events.c b/src/x11/events.c index 618692fd0..ca311538b 100644 --- a/src/x11/events.c +++ b/src/x11/events.c @@ -657,9 +657,7 @@ meta_spew_event (MetaDisplay *display, event->xany.serial); g_free (winname); - - if (extra) - g_free (extra); + g_free (extra); return ret; }