layer23: Call talloc_free unconditionally
talloc_free will check for NULL and return -1. _talloc_free(void *pyr) { if (unlikely(ptr == NULL)) { return -1; } ...
This commit is contained in:
parent
83d9dcc017
commit
950f7d15e8
|
@ -256,11 +256,8 @@ int main(int argc, char **argv)
|
|||
|
||||
l23_app_exit();
|
||||
|
||||
if (config_file)
|
||||
talloc_free(config_file);
|
||||
if (config_dir)
|
||||
talloc_free(config_dir);
|
||||
|
||||
talloc_free(config_file);
|
||||
talloc_free(config_dir);
|
||||
talloc_report_full(l23_ctx, stderr);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue