projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
copy-acl: enhance Solaris ACL error handling
[gnulib.git]
/
lib
/
striconv.c
diff --git
a/lib/striconv.c
b/lib/striconv.c
index
25d1f05
..
35bae57
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;
}