fix potential leak in proccreate