]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fix memory leak when looking up an non-existing domain by name
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 8 Aug 2010 19:32:29 +0000 (21:32 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 17 Aug 2010 21:04:36 +0000 (23:04 +0200)
commitf688faceac3f81468a04aba2a8fe9d7eff34c164
tree743f7ddce7d1cda0341ece1b7d778c8e52195f94
parent4303c91cc387cc56693fd1747f8ff6295bdbc97c
esx: Fix memory leak when looking up an non-existing domain by name

In case an optional object cannot be found the lookup function is
left early and the cleanup code is not executed.

This pattern occurs in some other functions too.
src/esx/esx_vi.c