[ResourceManager] Forgot to clear pointer.