Put the semi colon after declaring alloc_ptr