summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-09-09 15:06:42 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-09-16 12:32:21 +0200
commit0c9956f8213ad1074474f2f938574043e4ee5dfd (patch)
tree5f704f453921a5147c160dd580e1ffac2c54935b /util/oslib-posix.c
parentf64f598ad96977d2e511be0355d4ae48ecb4f694 (diff)
downloadfocaccia-qemu-0c9956f8213ad1074474f2f938574043e4ee5dfd.tar.gz
focaccia-qemu-0c9956f8213ad1074474f2f938574043e4ee5dfd.zip
test-char: fix AddressSanitizer failure
The CharSocketServerTestConfig and CharSocketClientTestConfig
objects escape after they are passed to g_test_add_data_func,
but they cease existing after the scope that defines them is
closed.  Make them static to fix this issue.

Fixes: e7b6ba4186f243f149b0d8cddc129fe681ba3912
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions