GUACAMOLE-200: Clear reference to active job after the job has been freed.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/12cde5d5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/12cde5d5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/12cde5d5 Branch: refs/heads/master Commit: 12cde5d520a9b1cf9deedf6ad10696cb1720b235 Parents: 7a4b737 Author: Michael Jumper <[email protected]> Authored: Wed Feb 15 20:11:26 2017 -0800 Committer: Michael Jumper <[email protected]> Committed: Wed Feb 15 20:11:26 2017 -0800 ---------------------------------------------------------------------- src/protocols/rdp/guac_rdpdr/rdpdr_printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/12cde5d5/src/protocols/rdp/guac_rdpdr/rdpdr_printer.c ---------------------------------------------------------------------- diff --git a/src/protocols/rdp/guac_rdpdr/rdpdr_printer.c b/src/protocols/rdp/guac_rdpdr/rdpdr_printer.c index 3733b01..40ac36f 100644 --- a/src/protocols/rdp/guac_rdpdr/rdpdr_printer.c +++ b/src/protocols/rdp/guac_rdpdr/rdpdr_printer.c @@ -117,7 +117,7 @@ void guac_rdpdr_process_print_job_close(guac_rdpdr_device* device, /* End print job */ if (job != NULL) { guac_rdp_print_job_free(job); - device->data = NULL; + rdp_client->active_job = NULL; } wStream* output_stream = guac_rdpdr_new_io_completion(device,
