Page MenuHomeFreeBSD

Fix a memory leak in mptutil
Needs ReviewPublic

Authored by trix_juniper.net on Mar 11 2017, 12:33 AM.

Details

Reviewers
scottl
truckman
Summary

mpt_show.c show_volumes
Free the array 'volumes' after it is no longer used.

Test Plan

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

Diff Detail

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

Event Timeline