Commit 98470607 authored by Christian Beier's avatar Christian Beier

Revert "Fix memory corruption bug."

This reverts commit c1363fa9.

The proper fix was already in 804335f9.
parent d1f013fc
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment