diff options
author | Dan Gudmundsson <[email protected]> | 2018-08-17 08:59:48 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2018-08-17 10:47:56 +0200 |
commit | a9ddb1e0f116e8fad9b13c7ba7884472c00c2667 (patch) | |
tree | d3938c458ce9e0c935a377913426571939f2deb6 /lib/mnesia/src | |
parent | 70aceaec7a985c27787f37ce07e4b072ec52ed61 (diff) | |
download | otp-a9ddb1e0f116e8fad9b13c7ba7884472c00c2667.tar.gz otp-a9ddb1e0f116e8fad9b13c7ba7884472c00c2667.tar.bz2 otp-a9ddb1e0f116e8fad9b13c7ba7884472c00c2667.zip |
Clean up bag index tables
Index records for bag tables with ram_copies was not deleted
after "real" objects where deleted and thus a memory leak.
Diffstat (limited to 'lib/mnesia/src')
-rw-r--r-- | lib/mnesia/src/mnesia_index.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_index.erl b/lib/mnesia/src/mnesia_index.erl index d121bd01e9..f8b3b9cd02 100644 --- a/lib/mnesia/src/mnesia_index.erl +++ b/lib/mnesia/src/mnesia_index.erl @@ -155,7 +155,7 @@ del_object_bag_([IxK|IxKs], Found, Type, Tab, Key, Obj, Ixt) -> bag -> db_match_erase(Ixt, {IxK, Key}); ordered -> - db_erase(Ixt, {{IxK, Key}}) + db_erase(Ixt, {IxK, Key}) end; _ -> ok |