commit | 5089c7ce82a49e6a97c5cf3db57a89bca8ed25d8 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <laurent@vivier.eu> | Mon Jan 18 23:50:45 2016 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Tue Feb 23 21:25:09 2016 +0200 |
tree | b889a01da044cda60eadd23cb79c8bbb856bc5e5 | |
parent | 1b1624092d1f1f746adea6e1237a07f6788c2e3d [diff] |
linux-user: fix realloc size of target_fd_trans. target_fd_trans is an array of "TargetFdTrans *": compute size accordingly. Use g_renew() as proposed by Paolo. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>