diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2022-10-21 11:56:50 -0600 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-11-10 16:19:13 -0500 |
| commit | 4c5c9cc35bd857dde1b65d52616c7ed2973dd620 (patch) | |
| tree | 2447d50acc33843554955f8cc39ecd87adc8fb62 | |
| parent | fccd7d13d9979cbdca3251f4695bc91840252efa (diff) | |
Fix crash from stale callbacks in memory map view
| -rw-r--r-- | ui/memorymap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/memorymap.h b/ui/memorymap.h index f7c45929..544cf2a3 100644 --- a/ui/memorymap.h +++ b/ui/memorymap.h @@ -99,6 +99,7 @@ class BINARYNINJAUIAPI SegmentWidget : public QWidget, public BinaryNinja::Binar public: SegmentWidget(BinaryViewRef data); + virtual ~SegmentWidget(); void updateFont(); void highlightRelatedSegments(SectionRef section); @@ -139,6 +140,7 @@ class BINARYNINJAUIAPI SectionWidget : public QWidget, public BinaryNinja::Binar public: SectionWidget(BinaryViewRef data); + virtual ~SectionWidget(); void updateFont(); void highlightRelatedSections(SegmentRef segment); |
