diff options
| author | Kevin Wolf | 2014-02-07 15:29:00 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-02-09 09:12:39 +0100 |
| commit | 99c4a85ce65863e6ba6668164d47c0d7c645e3aa (patch) | |
| tree | f54ea13923faad1dfd1648355b9db07cc3a7a53c /scripts/make-release | |
| parent | raw: Fix BlockLimits passthrough (diff) | |
| download | qemu-99c4a85ce65863e6ba6668164d47c0d7c645e3aa.tar.gz qemu-99c4a85ce65863e6ba6668164d47c0d7c645e3aa.tar.xz qemu-99c4a85ce65863e6ba6668164d47c0d7c645e3aa.zip | |
block: Fix memory leaks in bdrv_co_do_pwritev()
The error path for a failure in one of the two bdrv_aligned_preadv()
calls leaked head_buf or tail_buf, respectively. This fixes the memory
leak.
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'scripts/make-release')
0 files changed, 0 insertions, 0 deletions
