diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-02-06 08:56:15 +0000 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-03-01 11:51:28 +0400 |
| commit | 448fe3c1349b540c66e048788dd98b9c80775c53 (patch) | |
| tree | e20b71581335ac73237e76dac7d06db1c92fb1d0 /hw/usb/dev-storage.c | |
| parent | 1bab33ab4ab4702f53012551cad333beb270f30d (diff) | |
| download | focaccia-qemu-448fe3c1349b540c66e048788dd98b9c80775c53.tar.gz focaccia-qemu-448fe3c1349b540c66e048788dd98b9c80775c53.zip | |
tests: fix e1000e leaks
Spotted by ASAN. This hunk adds an assertion. It checks that we're finding no more than one e1000e device: each hit allocates, but there is only one g_free(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions