Free the worker
This commit is contained in:
@@ -158,6 +158,7 @@ int main(int argc, char **argv) {
|
|||||||
free(ep);
|
free(ep);
|
||||||
|
|
||||||
worker_task(worker, path);
|
worker_task(worker, path);
|
||||||
|
zsock_destroy(&worker);
|
||||||
|
|
||||||
zsock_destroy(&worker);
|
zsock_destroy(&worker);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user