* iface/gspn/ssp.cc (emptiness_check_shy_ssp::find_state): Free s.
This fixes a memory leak observed by Soheib Baarir.
This commit is contained in:
parent
525c8918ca
commit
84e72c8764
2 changed files with 7 additions and 0 deletions
|
|
@ -966,6 +966,8 @@ namespace spot
|
|||
}
|
||||
if (i == h.end())
|
||||
return 0;
|
||||
if (i->first != s)
|
||||
delete s;
|
||||
return &i->second;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue