fix(library/num): fix memory leak
This commit is contained in:
parent
acb5b969c6
commit
aac50873fe
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ optional<expr> is_bit1(expr const & e) {
|
|||
}
|
||||
|
||||
optional<expr> is_neg(expr const & e) {
|
||||
if (!is_const_app(e, *new name("neg"), 3))
|
||||
if (!is_const_app(e, get_neg_name(), 3))
|
||||
return none_expr();
|
||||
return some_expr(app_arg(e));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue