an AnsiString is the full qualified name of a standard 8bit per Char string, and equals String in all Delphi versions <2009. After that, String is considered Unicode (16bit per char) string, or WideString.
So you have lots of places where you can have AnsiString without you knowing it
By the look of your message, you probably don't free one form containing all the above