dtterm: Coverity 89479
authorPeter Howkins <flibble@users.sf.net>
Tue, 3 Jul 2018 16:58:52 +0000 (17:58 +0100)
committerPeter Howkins <flibble@users.sf.net>
Tue, 3 Jul 2018 16:58:52 +0000 (17:58 +0100)
cde/programs/dtterm/DtTermMain.c

index 5210bff33c0cf883310891f43ee4b62aee4f9d4e..282efb3d850a88187cf508c41d57bae37e05b15b 100644 (file)
@@ -998,7 +998,7 @@ FixOSFBindings
     }
 
     if (!origDisplayBindings) {
-        if (ignoredKeysymList) XtFree((char *)ignoredKeysymList);
+        XtFree((char *)ignoredKeysymList);
        return;
     }