summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-04-30 13:10:34 +0200
committerChristian Beier <dontmind@freeshell.org>2011-04-30 13:10:34 +0200
commit984706076c2dd150a1e2302dfe6344fb39f56635 (patch)
tree3282b45443fbd6d5fb2d096062028b0f8404aa1b
parentd1f013fc741b63d55371f66dc1366e69b4bde712 (diff)
downloadlibvncserver-984706076c2dd150a1e2302dfe6344fb39f56635.zip
libvncserver-984706076c2dd150a1e2302dfe6344fb39f56635.tar.gz
Revert "Fix memory corruption bug."
This reverts commit c1363fa9583ed41b94fbc79b3ff410b7d5189407. The proper fix was already in 804335f9d296440bb708ca844f5d89b58b50b0c6.
-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;
}
OpenPOWER on IntegriCloud