Fix some potential memory leaks in SmcCloseConnection().

Signed-off-by: Kim Woelders <kim@woelders.dk>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
6 jobs for misc in 1 minute and 50 seconds (queued for 1 second)