diff options
-rw-r--r-- | source3/lib/charcnv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index bb9b2054d1..791c866b57 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -586,8 +586,7 @@ bool convert_string_talloc(TALLOC_CTX *ctx, charset_t from, charset_t to, /* wrapped ! abort. */ if (!conv_silent) DEBUG(0, ("convert_string_talloc: destlen wrapped !\n")); - if (!ctx) - TALLOC_FREE(outbuf); + TALLOC_FREE(outbuf); errno = EOPNOTSUPP; return false; } else { |