[libvirt] Memory leak in xen_inotify.c

Niraj Tolia ntolia at gmail.com
Sat Nov 29 21:15:52 UTC 2008


Hi,

It looks like xenInotifyOpen() in xen_inotify.c has an opendir() call.
However, as there is no corresponding closedir() and opendir() uses
malloc internally, valgrind reports this as a memory leak. Adding a
closedir() to the end of this function should fix this.

Cheers,
Niraj




More information about the libvir-list mailing list