Skip to content

Memory leak on allocation Smtp at every sendMail() call. #4

@travnick

Description

@travnick

There is no delete on smtp anywhere. If it has to be heap allocated it should be a smart pointer anyway.

Smtp* smtp = new Smtp(ui->uname->text(), ui->paswd->text(), ui->server->text(), ui->port->text().toInt());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions