commit | ab213a5b6fa378b7f132132c03187ac83db75cc1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jul 16 10:13:00 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 16 19:18:41 2021 +0200 |
tree | 6b40887f658b0d78f8827cc1dddf1ae167728f8f | |
parent | a87e782a2dfb0837e863867a5e3361143eaede9b [diff] |
MINOR: arg: add a free_args() function to free an args array make_arg_list() can create an array of arguments, some of which remain to be resolved, but all users had to deal with their own roll back on error. Let's add a free_args() function to release all the array's elements and let the caller deal with the array itself (sometimes it's allocated in the stack).