https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203097
Bug ID: 203097
Summary: [libgeom] multiple geom_stats_open/close() leaks
memory
Product: Base System
Version: 10.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
This program leaks non-RES memory, probably due to MAP_SHARED in the the mmap()
reallocation.
<code>
#include <libgeom.h>
int main() {
while (1) {
geom_stats_open();
geom_stats_close();
}
return 0;
}
</code>
# clang bug.c -lgeom && ./a.out
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"