mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Fixed mem leak
This commit is contained in:
parent
a10aeacab1
commit
433f0c594a
@ -1616,6 +1616,8 @@ QVector<HeapBlock> CutterCore::getHeapBlocks()
|
||||
|
||||
blocks_vector.append(block);
|
||||
}
|
||||
|
||||
rz_list_free(blocks);
|
||||
return blocks_vector;
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,8 @@ WindowsHeapWidget::WindowsHeapWidget(MainWindow *main, QWidget *parent)
|
||||
|
||||
refreshDeferrer = dynamic_cast<CutterDockWidget *>(parent)->createRefreshDeferrer(
|
||||
[this]() { updateContents(); });
|
||||
|
||||
updateContents();
|
||||
}
|
||||
|
||||
WindowsHeapWidget::~WindowsHeapWidget()
|
||||
|
Loading…
Reference in New Issue
Block a user