ESP: fix a memory leak in UAT management