|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH 04/14] qdev: take ownership of id pointer |
Date: | Tue, 20 Sep 2011 16:11:24 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110904 Red Hat/3.1.14-1.el6_1 Thunderbird/3.1.14 |
Hi,
Oh, and not releasing the QemuOpts would also leak memory on each hot-unplug.If you look at my patch, opts is freed at the end of device_add so there is no leak.
Ah, ok. Missed that. cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |