Message ID | 4D6799E202000048000AA8EC@novprvoes0310.provo.novell.com |
---|---|
State | New |
Headers | show |
diff --git a/ui/vnc-jobs-async.c b/ui/vnc-jobs-async.c index 0b5d750..ebdba41 100644 --- a/ui/vnc-jobs-async.c +++ b/ui/vnc-jobs-async.c @@ -52,7 +52,6 @@ struct VncJobQueue { QemuCond cond; QemuMutex mutex; QemuThread thread; - Buffer buffer; bool exit; QTAILQ_HEAD(, VncJob) jobs; }; @@ -171,10 +170,9 @@ static void vnc_async_encoding_start(VncState *orig, VncSta te *local) local->tight = orig->tight; local->zlib = orig->zlib; local->hextile = orig->hextile; - local->output = queue->buffer; local->csock = -1; /* Don't do any network work on this thread */ - buffer_reset(&local->output); + buffer_free(&local->output); }