[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] Memory leak in xen_inotify.c
- From: "Niraj Tolia" <ntolia gmail com>
- To: libvir-list redhat com
- Subject: [libvirt] Memory leak in xen_inotify.c
- Date: Sat, 29 Nov 2008 13:15:52 -0800
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]