GUACAMOLE-1114: Clean up print job mutex lock

This commit is contained in:
Jimmy 2020-06-26 22:05:07 +03:00
parent 79c6e5787d
commit 264192fd25

View File

@ -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);