• C
    Fix a memory leak in the snapshot code in libvirtd. · 4aa36a68
    Chris Lalancette 提交于
    While running libvirtd under valgrind and doing some
    snapshot testing I noticed that we would always leak a
    connection reference.  The problem was actually that we
    were leaking a domain reference in the libvirtd remote
    snapshot code, which was in turn causing a leaked
    connection reference.  Fix the situation by explicitly
    taking and dropping a domain reference where we need it.
    Signed-off-by: NChris Lalancette <clalance@redhat.com>
    4aa36a68
remote.c 214.5 KB