Paolo Bonzini 44a90c0875 oslib-posix: fix memory leak in touch_all_pages
touch_all_pages() can return early, before creating threads.  In this case,
however, it leaks the MemsetContext that it has allocated at the
beginning of the function.

Reported by Coverity as CID 1534922.

Fixes: 04accf43df8 ("oslib-posix: initialize backend memory objects in parallel", 2024-02-06)
Reviewed-by: Mark Kanda <mark.kanda@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-03-08 15:51:22 +01:00
..
2023-12-19 19:03:38 +01:00
2024-01-10 06:58:50 +00:00
2023-09-07 20:32:11 -05:00
2023-08-31 19:47:43 +02:00
2023-10-17 15:20:53 +02:00
2023-11-15 12:06:05 +03:00
2024-01-30 21:20:20 +03:00
2023-11-03 09:20:31 +01:00