GUACAMOLE-200: Clear reference to active job after the job has been freed.

This commit is contained in:
Michael Jumper 2017-02-15 20:11:26 -08:00
parent 7a4b737a3a
commit 12cde5d520

View File

@ -117,7 +117,7 @@ void guac_rdpdr_process_print_job_close(guac_rdpdr_device* device,
/* End print job */ /* End print job */
if (job != NULL) { if (job != NULL) {
guac_rdp_print_job_free(job); guac_rdp_print_job_free(job);
device->data = NULL; rdp_client->active_job = NULL;
} }
wStream* output_stream = guac_rdpdr_new_io_completion(device, wStream* output_stream = guac_rdpdr_new_io_completion(device,