commit | d36c7fa5ec1edb2eb0faed1ffde72aee6b875d44 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Dec 02 12:26:29 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 02 21:53:16 2020 +0100 |
tree | 94a9c154934143c7f9bd8c0d3714087593819c31 | |
parent | fdabf4954860942d314fe3059a869bed207e78d4 [diff] |
MINOR: lua: simplify hlua_alloc() to only rely on realloc() The function really has the semantics of a realloc() except that it also passes the old size to help with accounting. No need to special case the free or malloc, realloc does everything we need.