From 5481b6b7532ca1e0716c8c95c1c1275025fc37df Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 3 Jul 2018 18:46:59 +0100 Subject: [PATCH] dtstyle: Coverity 88475 --- cde/programs/dtstyle/Main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cde/programs/dtstyle/Main.c b/cde/programs/dtstyle/Main.c index 3c7e933c..e6a6e8e4 100644 --- a/cde/programs/dtstyle/Main.c +++ b/cde/programs/dtstyle/Main.c @@ -570,11 +570,9 @@ malloc_trace(0); _DtWsmSetBackdropSearchPath(style.screen, dirs, style.useMultiColorIcons); - if (string != NULL) - XtFree((char *)string); + XtFree((char *)string); - if (dirs != NULL) - XtFree((char *)dirs); + XtFree((char *)dirs); -- 2.25.1