Start of handling delete_buf