GUACAMOLE-1114: Clean up print job mutex lock
This commit is contained in:
parent
79c6e5787d
commit
264192fd25
@ -631,6 +631,9 @@ void guac_rdp_print_job_free(guac_rdp_print_job* job) {
|
|||||||
/* Wait for job to terminate */
|
/* Wait for job to terminate */
|
||||||
pthread_join(job->output_thread, NULL);
|
pthread_join(job->output_thread, NULL);
|
||||||
|
|
||||||
|
/* Destroy lock */
|
||||||
|
pthread_mutex_destroy(&(job->state_lock));
|
||||||
|
|
||||||
/* Free base structure */
|
/* Free base structure */
|
||||||
free(job);
|
free(job);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user