diff options
author | Olaf Hering <olaf@aepfle.de> | 2018-05-15 08:31:28 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2018-05-20 08:55:01 +0300 |
commit | d29eb678bcfbb2fbf4b79423797253ee02f5c6cf (patch) | |
tree | 14da93e1a2433f7720e6272e7dbe5adf6a4c81e3 /gdbstub.c | |
parent | 201376cb9e500f64209444cb95f566679c0f54a2 (diff) |
replace functions which are only available in glib-2.24
Currently the minimal supported version of glib is 2.22.
Since testing is done with a glib that claims to be 2.22, but in fact
has APIs from newer version of glib, this bug was not caught during
submit of the patch referenced below.
Replace g_realloc_n, which is available only since 2.24, with g_renew.
Fixes commit 418026ca43 ("util: Introduce vfio helpers")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
CC: qemu-stable@nongnu.org
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions