fix: free process args in pthread
This commit is contained in:
@@ -643,6 +643,7 @@ void *state_background_write(void *args) {
|
||||
}
|
||||
|
||||
log_info("(state) background writing stopped by main thread");
|
||||
free(process_args);
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user