Skip to content

Memory leak in InternalThread::StartInternalThread() #1316

@ryotat

Description

@ryotat

I think the following line

thread_ = new caffe::Thread
        (&InternalThread::InternalThreadEntry, this);

is causing a memory leak because this function is called every time BasePrefetchingDataLayer::Forward_cpu() is called and the allocated memory is not freed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions