Fixed bug in dynalloc release