Revert "Fix memory corruption bug."

This reverts commit c1363fa958.

The proper fix was already in 804335f9d2.
pull/1/head
Christian Beier 13 years ago
parent d1f013fc74
commit 984706076c

@ -134,13 +134,11 @@ void rfbTightCleanup(rfbScreenInfoPtr screen)
{
if(tightBeforeBufSize) {
free(tightBeforeBuf);
tightBeforeBuf = NULL;
tightBeforeBufSize=0;
tightBeforeBuf = NULL;
}
if(tightAfterBufSize) {
free(tightAfterBuf);
tightAfterBuf = NULL;
tightAfterBufSize=0;
tightAfterBuf = NULL;
}

Loading…
Cancel
Save