mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
Eliminated a number of potential memory leaks in fpa2bv code.
Relates to #615
This commit is contained in:
parent
f1c915bcf1
commit
04a68bbb0a
3 changed files with 101 additions and 41 deletions
|
@ -172,8 +172,10 @@ br_status fpa2bv_rewriter_cfg::reduce_app(func_decl * f, unsigned num, expr * co
|
|||
else
|
||||
{
|
||||
SASSERT(!m_conv.is_float_family(f));
|
||||
m_conv.mk_function(f, num, args, result);
|
||||
return BR_DONE;
|
||||
if (m_conv.fu().contains_floats(f)) {
|
||||
m_conv.mk_function(f, num, args, result);
|
||||
return BR_DONE;
|
||||
}
|
||||
}
|
||||
|
||||
return BR_FAILED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue