[PATCH] wsdapi: Remove redundant NULL checks before heap_free()