Branch: refs/heads/master
Home: https://github.com/mailru/tarantool
Commit: 4ba95cac3743758e00315cf6e8096986a655b53e
https://github.com/mailru/tarantool/commit/4ba95cac3743758e00315cf6e8096986a655b53e
Author: Konstantin Osipov <[email protected]>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M mod/box/box_lua.m
Log Message:
-----------
Fix a regression memory leak introduced by refactoring.
Fix a memory leak in Lua stored procedures introduced
when cherry-picking changes from the old net-split
tree.
Make a palloc savepoint *before* we allocate txn
and port, to make sure txn and port memory is freed
when rolling back to the palloc savepoint.
Otherwise a long-running Lua procedure (e.g. background
fiber) can keep allocating palloc memory indefinitely.
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp