commit | 28ec2598ff7d74bd9556a1786f45fc5df2aacfe1 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 20 23:21:07 2013 +0100 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Mon Jan 06 13:45:47 2014 -0500 |
tree | efc4bddd7c521b039b02b8d18b5c9e8d5c597286 | |
parent | 513b8c74c4c899cd940a79131e76c5568aa11381 [diff] |
qom: fix leak for objects created with -object The object must be unref-ed when its variable goes out of scope. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>