diff options
| author | Paolo Bonzini | 2013-12-20 23:21:07 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2014-01-06 19:45:47 +0100 |
| commit | 28ec2598ff7d74bd9556a1786f45fc5df2aacfe1 (patch) | |
| tree | efc4bddd7c521b039b02b8d18b5c9e8d5c597286 /include/exec/memory.h | |
| parent | rng: initialize file descriptor to -1 (diff) | |
| download | qemu-28ec2598ff7d74bd9556a1786f45fc5df2aacfe1.tar.gz qemu-28ec2598ff7d74bd9556a1786f45fc5df2aacfe1.tar.xz qemu-28ec2598ff7d74bd9556a1786f45fc5df2aacfe1.zip | |
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>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
