memory leak with popiexp