fix: free process args in pthread
This commit is contained in:
@@ -377,6 +377,7 @@ void *video_background_read(void *args) {
|
||||
video_capture->disconnected = true;
|
||||
context->input_formats[input_index] = 0;
|
||||
}
|
||||
free(process_args);
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user