Skip to content

Resource leak, and other warnings from Coverity #760

@krlmlr

Description

@krlmlr

When analyzing RMariaDB, a warning most likely related to Rcpp came up.

Source code location:

std::ostream( new Buffer ),

Problem: The new Buffer seems to be never freed. This might be a false positive, but maybe not.

Screenshot (because Coverity reports are private):

screenshot from 2017-10-02 09-20-11

The other warning is about a constructor that doesn't initialize class members in tinyformat.h:

Screenshot:

screenshot from 2017-10-02 09-25-09

I've ignored the exception warnings so far, but we may take a look at them later.

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