diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2014-02-25 15:48:29 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2014-02-25 15:48:40 +0400 |
commit | d4fa06c4e1c7be164610f3adcb8d9651d307df59 (patch) | |
tree | b3c817ffc5bd9e880ffff2006840a1f7061f0d72 /csync/src/std/c_string.c | |
parent | 065690c2cead75efa142cb54a7d8682cd7bfde7b (diff) |
Fix potential crash in c_iconv on Mac OS X
Diffstat (limited to 'csync/src/std/c_string.c')
-rw-r--r-- | csync/src/std/c_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csync/src/std/c_string.c b/csync/src/std/c_string.c index a2c479839..da81d6eaa 100644 --- a/csync/src/std/c_string.c +++ b/csync/src/std/c_string.c @@ -126,7 +126,7 @@ static char *c_iconv(const char* str, enum iconv_direction dir) } if (ret == (size_t)-1) { - SAFE_FREE(out); + SAFE_FREE(out_in); return NULL; } |