custom created model should be freed

We are not aware of any issues like that. Can you please provide a sample project reproducing the issue?