]> Git Repo - qemu.git/commit
blockdev: fix drive_init() opts and bs_opts leaks
authorStefan Hajnoczi <[email protected]>
Wed, 30 Oct 2013 13:54:30 +0000 (14:54 +0100)
committerStefan Hajnoczi <[email protected]>
Thu, 7 Nov 2013 12:53:31 +0000 (13:53 +0100)
commitec9c10d29c6bb5613a680af62f5825d3bb2d31d4
tree33ed841f56b47e80e89545483890cff3c0bf5336
parentdb5dc557288fb1b7a17ffabe3b92f299fc2dc187
blockdev: fix drive_init() opts and bs_opts leaks

These memory leaks also make drive_add if=none,id=drive0 without a file=
option leak the options list.  This keeps ID "drive0" around forever.

Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
blockdev.c
This page took 0.02538 seconds and 4 git commands to generate.