projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0cd3f
)
dtstyle: Coverity 88475
author
Peter Howkins
<flibble@users.sf.net>
Tue, 3 Jul 2018 17:46:59 +0000
(18:46 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Tue, 3 Jul 2018 17:46:59 +0000
(18:46 +0100)
cde/programs/dtstyle/Main.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtstyle/Main.c
b/cde/programs/dtstyle/Main.c
index 3c7e933cd01e30dc4e967adb34060989e5cd0751..e6a6e8e4a4cfc448dd2592bfb274f2baa6b70bef 100644
(file)
--- 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);