uwac: Do not return destroyed UwacSeat
authorOndrej Holy <oholy@redhat.com>
Thu, 13 Dec 2018 08:47:26 +0000 (09:47 +0100)
committerOndrej Holy <oholy@redhat.com>
Thu, 13 Dec 2018 08:53:59 +0000 (09:53 +0100)
commit24cdcbccc77056a1e65bccd5c64f764b777806f8
tree70a3b2e34cb05f37683fa9f57be76f1f707ad06e
parent3d4b195c4035de0395cc7a59f8144f2c4ecf2fc0
uwac: Do not return destroyed UwacSeat

This is needed to fix the following defects reported by Covscan:
use_after_free: Using freed pointer "seat".
warning: Value stored to 'seat' is never read

This is follow up for https://github.com/FreeRDP/FreeRDP/pull/4970

https://github.com/FreeRDP/FreeRDP/issues/4820
uwac/libuwac/uwac-display.c