]> Git Repo - qemu.git/commit
replace functions which are only available in glib-2.24
authorOlaf Hering <[email protected]>
Tue, 15 May 2018 06:31:28 +0000 (08:31 +0200)
committerMichael Tokarev <[email protected]>
Sun, 20 May 2018 05:55:01 +0000 (08:55 +0300)
commitd29eb678bcfbb2fbf4b79423797253ee02f5c6cf
tree14da93e1a2433f7720e6272e7dbe5adf6a4c81e3
parent201376cb9e500f64209444cb95f566679c0f54a2
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 <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
CC: [email protected]
util/vfio-helpers.c
This page took 0.026437 seconds and 4 git commands to generate.