in reply to Memory leak

Well the leak is obviously on line 13054. Or maybe 13053. Somewhere around there, at any rate.

A reading of How (Not) To Ask A Question and heeding the advice might produce more cogent help.