Fixed a memory allocation bug during the unwatching of symbolic links