channels/rdpdr: Fix leak found by covscan
authorOndrej Holy <oholy@redhat.com>
Fri, 17 Aug 2018 10:56:45 +0000 (12:56 +0200)
committerOndrej Holy <oholy@redhat.com>
Wed, 22 Aug 2018 11:35:43 +0000 (13:35 +0200)
commit10bddb9fd98f0d8b257c1caba3b6db2de349bf8a
tree1045bf918150b8689f77b852fc9cefa62af6d7f1
parent865ee84ab574c336117762b6c88919436de37250
channels/rdpdr: Fix leak found by covscan

leaked_storage: Variable "newbuf" going out of scope leaks the storage it points to.
leaked_storage: Variable "keys" going out of scope leaks the storage it points to.
leaked_storage: Variable "pKeys" going out of scope leaks the storage it points to.
leaked_storage: Variable "s" going out of scope leaks the storage it points to.
leaked_storage: Variable "computerNameW" going out of scope leaks the storage it points to.
leaked_storage: Variable "s" going out of scope leaks the storage it points to.
channels/rdpdr/client/rdpdr_main.c
channels/rdpdr/server/rdpdr_main.c