diff options
author | Christian Beier <dontmind@freeshell.org> | 2011-04-30 13:10:34 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2011-04-30 13:10:34 +0200 |
commit | 984706076c2dd150a1e2302dfe6344fb39f56635 (patch) | |
tree | 3282b45443fbd6d5fb2d096062028b0f8404aa1b | |
parent | d1f013fc741b63d55371f66dc1366e69b4bde712 (diff) | |
download | libvncserver-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.c | 2 |
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; } |