Markus Armbruster d21357df9a qdev: Don't leak string property value on hot unplug
parse_string() qemu_strdup()s the property value.  It is never freed.
It needs to be freed along with the device.  Otherwise, the value of
scsi-disk property "ver" gets leaked when hot-unplugging the disk, for
instance.

Call new PropertyInfo method free() from qdev_free().  Implement it
for qdev_prop_string.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-06-04 11:43:39 +02:00
..
2010-05-03 12:17:37 -05:00
2010-05-15 17:36:13 +00:00
2010-05-15 17:36:13 +00:00
2010-05-26 19:14:21 +00:00
2010-05-29 20:23:48 +00:00
2010-05-15 17:36:13 +00:00
2010-05-21 12:00:22 +02:00
2010-04-05 19:43:12 +01:00
2010-04-08 21:17:10 +02:00
2010-04-08 21:44:38 +02:00
2010-04-05 19:57:40 +01:00
2010-05-22 08:00:52 +00:00
2010-05-14 19:32:18 +00:00
2010-04-18 08:55:12 +00:00
2010-04-18 08:55:12 +00:00
2010-05-15 14:33:48 +00:00
2010-05-15 14:23:31 +00:00
2010-05-29 20:23:19 +00:00
2010-05-31 18:59:45 +00:00
2010-05-22 08:00:52 +00:00
2010-05-30 19:20:07 +00:00
2010-05-22 08:00:52 +00:00
2010-05-22 08:00:52 +00:00
2010-05-31 16:33:52 +03:00
2010-05-28 21:48:47 +02:00
2010-05-29 20:23:49 +00:00
2010-05-28 21:33:59 +02:00
2010-05-22 07:59:06 +00:00
2010-05-28 21:33:59 +02:00
2010-05-22 08:00:52 +00:00
2010-05-18 21:12:54 +02:00
2010-04-05 19:57:40 +01:00
2010-04-05 19:57:40 +01:00
2010-04-04 21:18:26 +01:00
2010-04-09 22:06:22 +02:00
2010-04-09 22:06:22 +02:00
2010-05-18 21:12:48 +02:00
2010-05-15 14:32:51 +00:00
2010-04-13 20:17:24 +02:00
2010-05-15 13:57:22 +00:00
2010-05-26 19:14:21 +00:00
2010-04-04 21:18:26 +01:00
2010-04-08 11:11:21 +02:00
2010-05-22 08:02:12 +00:00
2010-04-14 00:12:04 +02:00
2010-05-03 12:17:39 -05:00
2010-05-12 18:07:54 +03:00
2010-05-22 07:59:01 +00:00