Page MenuHomeFreeBSD

uefisign.c: Plug memory leaks.
Needs ReviewPublic

Authored by delphij on Jun 28 2017, 4:55 AM.

Details

Reviewers
trasz
emaste
Summary

Plug memory leaks.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 10162
Build 10585: arc lint + arc unit

Event Timeline

usr.sbin/uefisign/uefisign.c
352–355

early exit would simplify slightly and reduce indentation,

case 'c':
    if (certpath != NULL)
        err(1, "-c can only be specified once");
    certpath = checked_strdup(optarg);
    break;
linimon retitled this revision from Plug memory leaks. to uefisign.c: Plug memory leaks..Jul 19 2018, 5:22 AM