]> git.proxmox.com Git - mirror_qemu.git/commit
test: Use g_strndup instead of plain strndup
authortony.nguyen@bt.com <tony.nguyen@bt.com>
Sat, 8 Jun 2019 05:25:52 +0000 (05:25 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 21 Aug 2019 08:27:13 +0000 (10:27 +0200)
commit348fbd5816cab30d38d7a3727a4b83404797128a
tree13f4a9c42f28f95e7a87d2e0da64f246b278b5b5
parent17dc57990320edaad52ac9ea808be9719c91cea6
test: Use g_strndup instead of plain strndup

Due to memory management rules. See HACKING.

Signed-off-by: Tony Nguyen <tony.nguyen@bt.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <dce313b46d294ada8826d34609a3447e@tpw09926dag18e.domain1.systemhost.net>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
tests/check-qjson.c
tests/migration/stress.c