[PATCH v2 2/5] shell32: Prevent user after free in error case (Coverity)