Skip to content

COVERITY RESOURCE_LEAK - Missing parse_arg_eq_done() before return #51

@shao-liancheng

Description

@shao-liancheng

'parse_arg_eq_done(&pt)' should be called to free memory before function return.

The problem also happens at

Suggest to write same code style before exiting the function

    LOG_ERROR(BSL_LS_APPL_TESTS, (BSL_META_U(unit, xxxx, ....);  // log the error
    rv = xx; // set proper return value
    goto exit;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions