* 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
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-17 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* iface/gspn/ssp.cc (emptiness_check_shy_ssp::find_state): Free s.
|
||||||
|
This fixes a memory leak observed by Soheib Baarir.
|
||||||
|
|
||||||
2004-06-16 Thomas Martinez <martinez@src.lip6.fr>
|
2004-06-16 Thomas Martinez <martinez@src.lip6.fr>
|
||||||
|
|
||||||
* src/tgbatest/reductgba.cc, src/tgbatest/reductgba.test: Test for
|
* src/tgbatest/reductgba.cc, src/tgbatest/reductgba.test: Test for
|
||||||
|
|
|
||||||
|
|
@ -966,6 +966,8 @@ namespace spot
|
||||||
}
|
}
|
||||||
if (i == h.end())
|
if (i == h.end())
|
||||||
return 0;
|
return 0;
|
||||||
|
if (i->first != s)
|
||||||
|
delete s;
|
||||||
return &i->second;
|
return &i->second;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue