projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use spaces for indentation, not tabs.
[pspp]
/
lib
/
striconv.c
diff --git
a/lib/striconv.c
b/lib/striconv.c
index 25d1f05efd6bfe4f616ff7acdc4cda2c976a623b..35bae576880eb278c7bb9de03ddb2b53dd658cc3 100644
(file)
--- a/
lib/striconv.c
+++ b/
lib/striconv.c
@@
-233,8
+233,7
@@
str_cd_iconv (const char *src, iconv_t cd)
(result != NULL ? realloc (result, length + 1) : malloc (length + 1));
if (final_result == NULL)
{
- if (result != NULL)
- free (result);
+ free (result);
errno = ENOMEM;
return NULL;
}