core/gateway/rdg: Fix leak found by covscan
authorOndrej Holy <oholy@redhat.com>
Fri, 17 Aug 2018 13:47:46 +0000 (15:47 +0200)
committerOndrej Holy <oholy@redhat.com>
Wed, 22 Aug 2018 12:34:02 +0000 (14:34 +0200)
commit409e192334ef248642f7d708a534944183bbcbe4
tree744c99a536a71bc9b7161c585d61446659be8c85
parent79d0725a80d3dd17c1dd9cfc6c2b543c909b22e7
core/gateway/rdg: Fix leak found by covscan

leaked_storage: Variable "request" going out of scope leaks the storage it points to.
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
libfreerdp/core/gateway/rdg.c