[PATCH] hidclass.sys: Fix some memory leaks on error path (Coverity).