janitorial: Remove two fresh redundant NULL checks before HeapFree(). Found by Smatch.