projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dtmail: resolve 'deference before null check' errors related to if(!NULL) checks...
[oweals/cde.git]
/
cde
/
programs
/
dtmail
/
dtmailpr
/
message.C
diff --git
a/cde/programs/dtmail/dtmailpr/message.C
b/cde/programs/dtmail/dtmailpr/message.C
index a1cc32c839499d746c9aa56d536ca5589aeb3b4f..314b34de8156681e9f34729a3a05f279131cbb23 100644
(file)
--- a/
cde/programs/dtmail/dtmailpr/message.C
+++ b/
cde/programs/dtmail/dtmailpr/message.C
@@
-297,8
+297,7
@@
DmxMsg::display (void)
strcpy(v3_cs, "DEFAULT");
strcat(v3_cs, ".");
strcat(v3_cs, ret);
- if (ret)
- free(ret);
+ free(ret);
}
// Get iconv from and to codeset and do conversion.