diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-03-19 12:24:43 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-03-19 12:24:43 -0700 |
commit | f08356c4d204b07847a1d550b2acda44a897f970 (patch) | |
tree | 8b3e7c46de3f45d07d8427d9145978d651d9aa26 /src/main.c | |
parent | 292357d284a6cb067a6cb3c7779225e65edb475e (diff) |
*: use til_module_destroy_context()
Mechanically replaced ad-hoc til_module_t.destroy_context()
invocations with helper calls.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -282,10 +282,7 @@ int main(int argc, const char *argv[]) pthread_cancel(rototiller.thread); pthread_join(rototiller.thread, NULL); til_shutdown(); - - if (rototiller.module_context) - rototiller.module->destroy_context(rototiller.module_context); - + til_module_destroy_context(rototiller.module, rototiller.module_context); til_fb_free(rototiller.fb); return EXIT_SUCCESS; |