diff options
| author | Paolo Bonzini | 2019-09-09 15:06:42 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2019-09-16 12:32:21 +0200 |
| commit | 0c9956f8213ad1074474f2f938574043e4ee5dfd (patch) | |
| tree | 5f704f453921a5147c160dd580e1ffac2c54935b /include/exec | |
| parent | win32: fix README file in NSIS installer (diff) | |
| download | qemu-0c9956f8213ad1074474f2f938574043e4ee5dfd.tar.gz qemu-0c9956f8213ad1074474f2f938574043e4ee5dfd.tar.xz 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 'include/exec')
0 files changed, 0 insertions, 0 deletions
