My concern is when the memory of `app_id` get freed.