diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-09 15:06:42 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-16 12:32:21 +0200 |
| commit | 0c9956f8213ad1074474f2f938574043e4ee5dfd (patch) | |
| tree | 5f704f453921a5147c160dd580e1ffac2c54935b /hw/core/loader.c | |
| parent | f64f598ad96977d2e511be0355d4ae48ecb4f694 (diff) | |
| download | focaccia-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 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions