Fix leak in pugl