mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Add missing change to xreallocarray() in previous
This commit is contained in:
parent
ab268e9616
commit
ffa2a01c96
@ -323,7 +323,7 @@ iconvert(const char *in_str, const char *from, const char *to, int mode)
|
||||
count = sizeof(buf) - bufavail - 1;
|
||||
|
||||
output_size += count;
|
||||
op = output = xrealloc(output, output_size, sizeof(char));
|
||||
op = output = xreallocarray(output, output_size, sizeof(char));
|
||||
op += out_pos;
|
||||
memcpy(op, buf, count);
|
||||
out_pos += count;
|
||||
|
Loading…
Reference in New Issue
Block a user