diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/charset/util_unistr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/charset/util_unistr.c b/source4/lib/charset/util_unistr.c index ca65d1fa00..78af83973d 100644 --- a/source4/lib/charset/util_unistr.c +++ b/source4/lib/charset/util_unistr.c @@ -508,6 +508,8 @@ _PUBLIC_ char *strlower_talloc(TALLOC_CTX *ctx, const char *src) /* trim it so talloc_append_string() works */ dest = talloc_realloc_size(ctx, dest, size+1); + talloc_set_name_const(dest, dest); + return dest; } @@ -550,6 +552,8 @@ _PUBLIC_ char *strupper_talloc(TALLOC_CTX *ctx, const char *src) /* trim it so talloc_append_string() works */ dest = talloc_realloc_size(ctx, dest, size+1); + talloc_set_name_const(dest, dest); + return dest; } |