Page MenuHomeFreeBSD

Fix a memory leak in libmemstat
Needs ReviewPublic

Authored by trix_juniper.net on Mar 11 2017, 4:06 PM.

Details

Reviewers
glebius
pluknet
Summary

memstat_malloc.c memstat_kvm_malloc
Free the buffer mts before returning.

Test Plan

Use clang's static analyzer, scan-build, to find the problem and later to show resolution.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline