fix(frontends/lean/inductive_cmds): memory leak

This commit is contained in:
Leonardo de Moura 2016-08-23 15:36:46 -07:00
parent 871d78fbf8
commit 6aa11be6fd

View file

@ -540,6 +540,7 @@ void initialize_inductive_cmds() {
g_tmp_prefix = new name(name::mk_internal_unique_name());
}
void finalize_inductive_cmds() {}
void finalize_inductive_cmds() {
delete g_tmp_prefix;
}
}