Purge
You can purge unused textures through the purge dialog.