commit | f3267677119430d07c0c9d75f2b5818430b99816 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Wed Apr 26 14:25:58 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 26 15:13:18 2017 +0200 |
tree | 10b45711f11fe197776d3f9ce539e9f1f15eea19 | |
parent | 013a84fe939cf393fbcf8deb9b4504941d382777 [diff] |
BUG/MEDIUM: lua: memory leak The priv context is not cleaned when we set a new priv context. This is caused by a stupid swap between two parameter of the luaL_unref() function. workaround: use set_priv only once when we process a stream. This patch should be backported in version 1.7 and 1.6