Revision 380282b0 vnc.c

b/vnc.c
678 678
            vnc_framebuffer_update(vs, x, y, w, h, VNC_ENCODING_HEXTILE);
679 679
            n = vnc_hextile_send_framebuffer_update(vs, x, y, w, h);
680 680
            break;
681
        case VNC_ENCODING_TIGHT:
682
            n = vnc_tight_send_framebuffer_update(vs, x, y, w, h);
683
            break;
681 684
        default:
682 685
            vnc_framebuffer_update(vs, x, y, w, h, VNC_ENCODING_RAW);
683 686
            n = vnc_raw_send_framebuffer_update(vs, x, y, w, h);
......
982 985
    qobject_decref(vs->info);
983 986

  
984 987
    vnc_zlib_clear(vs);
988
    vnc_tight_clear(vs);
985 989

  
986 990
#ifdef CONFIG_VNC_TLS
987 991
    vnc_tls_client_cleanup(vs);
......
1677 1681
            vs->features |= VNC_FEATURE_HEXTILE_MASK;
1678 1682
            vs->vnc_encoding = enc;
1679 1683
            break;
1684
        case VNC_ENCODING_TIGHT:
1685
            vs->features |= VNC_FEATURE_TIGHT_MASK;
1686
            vs->vnc_encoding = enc;
1687
            break;
1680 1688
        case VNC_ENCODING_ZLIB:
1681 1689
            vs->features |= VNC_FEATURE_ZLIB_MASK;
1682 1690
            vs->vnc_encoding = enc;

Also available in: Unified diff