commit | 612c5eba20af4a9993a7a27aa40a7ef7a884962e | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Fri Jan 15 11:45:54 2021 -0800 |
committer | Michael Jumper <mjumper@apache.org> | Fri Jan 15 11:46:16 2021 -0800 |
tree | 59944bbe39d047fedc9831f3f6156f9c50026536 | |
parent | 53f981f864475763f64d608ca1dfea7c7e094472 [diff] |
GUACAMOLE-1263: Mark freed memory as freed prior to calling rfbClientCleanup(). Older versions of libvncclient did not free all memory within rfbClientCleanup(), but this has been corrected as of their 0.9.12 release. As guacamole-server may well be built against older versions of libvncclient, we can't simply remove the manual free() calls, but we should be sure to set any memory that we free ourselves to NULL so that rfbClientCleanup() does not attempt to free it again.