diff options
author | Simo Sorce <idra@samba.org> | 2001-11-12 01:31:43 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-11-12 01:31:43 +0000 |
commit | 25f51f49b13f46907b19761720de380513b3eec9 (patch) | |
tree | 95c07e35945b3a9a60e7b273fb4341726b099240 /source3/lib | |
parent | 22afba62c9add7efa0de76defd8abb9b352473e2 (diff) | |
download | samba-25f51f49b13f46907b19761720de380513b3eec9.tar.gz samba-25f51f49b13f46907b19761720de380513b3eec9.tar.bz2 samba-25f51f49b13f46907b19761720de380513b3eec9.zip |
messed up with patches, this should be the right one,
sorry
(This used to be commit 023514a0b6170b1907696a2147ee44dc3aa4589d)
Diffstat (limited to 'source3/lib')
-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 5ed31d2a4c..27e00a589e 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -209,8 +209,7 @@ convert: } destlen = destlen - o_len; - *dest = (char *)realloc(ob,destlen); - *dest = (char *)realloc(outbuf,destlen); + *dest = (char *)Realloc(ob,destlen); if (!*dest) { DEBUG(0, ("convert_string_allocate: out of memory!\n")); SAFE_FREE(ob); |