fix memory leaks

This commit is contained in:
Aditya Kulkarni
2018-11-01 23:34:45 -07:00
parent 2c7c57e39b
commit 2a089d9692
4 changed files with 22 additions and 36 deletions

View File

@@ -261,6 +261,7 @@ void RPC::getAllPrivKeys(const std::function<void(QList<QPair<QString, QString>>
}
fnCombineTwoLists(allTKeys);
delete privkeys;
}
);
});
@@ -677,6 +678,7 @@ void RPC::refreshSentZTrans() {
}
transactionsTableModel->addZSentData(newSentZTxs);
delete txidList;
}
);
}