mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
Clean up cppcheck warnings about handling of allocated memory in SysEx class
This commit is contained in:
parent
712440a48c
commit
59cc0a11ca
2 changed files with 3 additions and 1 deletions
|
|
@ -45,6 +45,8 @@ SysEx::SysEx (
|
||||||
|
|
||||||
SysEx::~SysEx()
|
SysEx::~SysEx()
|
||||||
{
|
{
|
||||||
|
delete _flag;
|
||||||
|
_flag = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool event_handler (GdkEvent* ev);
|
bool event_handler (GdkEvent* ev);
|
||||||
|
SysEx(const SysEx& rhs){}
|
||||||
ArdourCanvas::Flag* _flag;
|
ArdourCanvas::Flag* _flag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue