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