Plug a memory leak in randltl.
* src/ltlvisit/randomltl.hh (random_formula::~random_formula): Declare as virtual.
This commit is contained in:
parent
87acb15174
commit
b8b4aa72c5
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace spot
|
|||
{
|
||||
}
|
||||
|
||||
~random_formula()
|
||||
virtual ~random_formula()
|
||||
{
|
||||
delete[] proba_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue