steam-ihs: fix memleak on exception