BUG/MINOR: hlua: missing lock in hlua_filter_new()

This is a complementary patch to 8670db7 ("BUG/MAJOR: hlua: improper lock
usage with hlua_ctx_resume()") for hlua_filter_new().

Indeed, the HLUA_E_ERRMSG case still relies on the lua stack but didn't
take the lock to do so.

This should be backported up to 2.6.

(cherry picked from commit ecd8f3bfd72ace0af8bc91eb8ec7cf6dc2d6a68c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit fa916bbe0593a909ef6db6a9968a2a0af71c14df)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed