core/transport: Fix leak found by covscan
authorOndrej Holy <oholy@redhat.com>
Mon, 20 Aug 2018 09:26:35 +0000 (11:26 +0200)
committerOndrej Holy <oholy@redhat.com>
Wed, 22 Aug 2018 12:34:02 +0000 (14:34 +0200)
commit47595a857f093ee6e41758efe8175e425e4d1b63
treeca661d1cf193b3b4bceccca6d3b9f78b1faf0636
parent1a413b5b4e6f74af310c153c84686e02d3834127
core/transport: Fix leak found by covscan

0 is valid return value from socket().

leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
libfreerdp/core/transport.c