summaryrefslogtreecommitdiffstats
path: root/libvncserver/tight.c
diff options
context:
space:
mode:
authorChristian Beier <[email protected]>2011-04-30 13:10:34 +0200
committerChristian Beier <[email protected]>2011-04-30 13:10:34 +0200
commit984706076c2dd150a1e2302dfe6344fb39f56635 (patch)
tree3282b45443fbd6d5fb2d096062028b0f8404aa1b /libvncserver/tight.c
parentd1f013fc741b63d55371f66dc1366e69b4bde712 (diff)
downloadlibtdevnc-984706076c2dd150a1e2302dfe6344fb39f56635.tar.gz
libtdevnc-984706076c2dd150a1e2302dfe6344fb39f56635.zip
Revert "Fix memory corruption bug."
This reverts commit c1363fa9583ed41b94fbc79b3ff410b7d5189407. The proper fix was already in 804335f9d296440bb708ca844f5d89b58b50b0c6.
Diffstat (limited to 'libvncserver/tight.c')
-rw-r--r--libvncserver/tight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvncserver/tight.c b/libvncserver/tight.c
index 5bbab26..bb033c3 100644
--- a/libvncserver/tight.c
+++ b/libvncserver/tight.c
@@ -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;
}