1
0
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:
Moritz Grimm 2015-04-23 00:02:51 +02:00
parent ab268e9616
commit ffa2a01c96

View File

@ -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;