aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-07 18:18:17 +0200
committerSverker Eriksson <[email protected]>2018-05-08 14:38:43 +0200
commite7579f608a1bdb52271c57e9ad69a7752ea1371b (patch)
tree564e993798e57172de8c959d762b32616200638f /erts/emulator/beam/erl_db.c
parentc500b0acdad588fa4c3d0cba15a9c61dc30a3190 (diff)
downloadotp-e7579f608a1bdb52271c57e9ad69a7752ea1371b.tar.gz
otp-e7579f608a1bdb52271c57e9ad69a7752ea1371b.tar.bz2
otp-e7579f608a1bdb52271c57e9ad69a7752ea1371b.zip
erts: Rename untrapping db_free_*empty*_table
as it's now only used for empty tables by ets:new/2.
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index 696ad17daa..468e22ed59 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -1782,7 +1782,7 @@ BIF_RETTYPE ets_new_2(BIF_ALIST_2)
db_lock(tb,LCK_WRITE);
free_heir_data(tb);
- tb->common.meth->db_free_table(tb);
+ tb->common.meth->db_free_empty_table(tb);
db_unlock(tb,LCK_WRITE);
table_dec_refc(tb, 0);
BIF_ERROR(BIF_P, BADARG);