Skip to content

Commit

Permalink
Properly free more memory on shutdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
treveradams committed Aug 13, 2020
1 parent 33cbad4 commit 02c1c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cfg_param.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ void system_shutdown()
release_services();
release_modules();
ci_dlib_closeall();
release_body_system();

/*
Release other subsystems
Expand Down
1 change: 1 addition & 0 deletions service.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ int release_services()
ci_list_destroy(service_extra_data_list[i].option_handlers);
service_extra_data_list[i].option_handlers = NULL;
}
free(service_data(service_list[i]));
}
}

Expand Down

0 comments on commit 02c1c66

Please sign in to comment.