Memory leaks fixed in symbology