]> source.dussan.org Git - tigervnc.git/commit
Prevent leak of SecurityServer and ClientServer. 436/head
authorMichal Srb <michalsrb@gmail.com>
Mon, 27 Mar 2017 10:55:46 +0000 (13:55 +0300)
committerMichal Srb <michalsrb@gmail.com>
Mon, 27 Mar 2017 10:55:46 +0000 (13:55 +0300)
commitdccb5f7d776e93863ae10bbff56a45c523c6eeb0
tree66470b930a2659ce7c585fa55cd6676f6377e19f
parentbf3bdac082978ca32895a4b6a123016094905689
Prevent leak of SecurityServer and ClientServer.

They are created in SConnection's and CConnection's constructors but never destroyed.

There is no reason for the indirection, so lets make them direct members.
common/rfb/CConnection.cxx
common/rfb/CConnection.h
common/rfb/SConnection.cxx
common/rfb/SConnection.h