Fix EZP-20952: Creating content causes a memory leak using ezfind