libDtHelp: Cov 88262 and 88459
authorPeter Howkins <flibble@users.sf.net>
Sat, 11 Aug 2018 00:05:01 +0000 (01:05 +0100)
committerPeter Howkins <flibble@users.sf.net>
Sat, 11 Aug 2018 00:05:01 +0000 (01:05 +0100)
cde/lib/DtHelp/Graphics.c

index 62251681d33494898a7ba49d017e7751baeb407a..7f79a4eeb30d2bea094e3291e430eb804b8edbe9 100644 (file)
@@ -2441,11 +2441,11 @@ _DtHelpProcessGraphic(
                else if (*ptr == 'B' || *ptr == 'b')
                    ForceColor = _DtGrBITONAL;
              }
-
-           free (xrmName);
-           free (xrmClass);
          }
 
+       free (xrmName);
+       free (xrmClass);
+
        /*
         * choose the correct visual type to use
         */