]> xenbits.xensource.com Git - libvirt.git/commit
uml: Avoid resource leak of event in umlInofityEvent
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 14:20:06 +0000 (09:20 -0500)
committerEric Blake <eblake@redhat.com>
Tue, 22 Jan 2013 16:14:13 +0000 (09:14 -0700)
commit2a5d14e20697d4c93c34114dbac18d9b66046c68
treeae44fb1920400cfe7c9c7d3fe6a8d4cd4c4685c1
parent8f7b75fbc3b355d30f52a739d78c4d295351a9e4
uml: Avoid resource leak of event in umlInofityEvent

If there was more than one inotify_event found in the read/while loop,
then only the last event found would have been queued.
src/uml/uml_driver.c