Commit 7418616d authored by Albert Astals Cid's avatar Albert Astals Cid

Link: Fix memory leak regarding next actions

parent 45f0f6d2
......@@ -56,7 +56,8 @@ LinkAction::LinkAction() : nextActionList(nullptr) {
}
LinkAction::~LinkAction() {
delete nextActionList;
if (nextActionList)
deleteGooList(nextActionList, LinkAction);
}
LinkAction *LinkAction::parseDest(const Object *obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment