diff options
| author | Xusheng <xusheng@vector35.com> | 2023-11-28 14:24:21 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2023-11-28 15:11:55 +0800 |
| commit | 72a45487eb191ba17603edb3224d47b1184bdf0e (patch) | |
| tree | cef0c93a4993630c82dec8342cd765362ee4e2c8 /ui/createstructdialog.h | |
| parent | f470a2263627d21abdff67ed9b67e2704b38a648 (diff) | |
Fix memory leak when using the create structure dialog. Fix https://github.com/Vector35/binaryninja-api/issues/4779
Diffstat (limited to 'ui/createstructdialog.h')
| -rw-r--r-- | ui/createstructdialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/createstructdialog.h b/ui/createstructdialog.h index 7063bc9b..149a0583 100644 --- a/ui/createstructdialog.h +++ b/ui/createstructdialog.h @@ -97,6 +97,7 @@ class BINARYNINJAUIAPI CreateStructDialog : public QDialog public: CreateStructDialog(QWidget* parent, BinaryViewRef view, const std::string& name, bool askForPointer = false, bool defaultToPointer = false); + ~CreateStructDialog(); BinaryNinja::QualifiedName getName() const { return m_resultName; } uint64_t getSize() const { return m_resultSize; } |
