HomeFreeBSD

The memory assigned to the local variable 'copy' needs to be freed.

Description

The memory assigned to the local variable 'copy' needs to be freed.

Found using clang's static analyzer - scan-build

Submitted by: Thomas Rix <trix@juniper.net>
Reviewed by: ed
Approved by: sjg (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D9663

Details

Provenance
stevekAuthored on
Reviewer
ed
Differential Revision
D9663: Fix a memory leak with add_mapping
Parents
rS319635: sh: Call fc -e editor with interrupts enabled.
Branches
Unknown
Tags
Unknown