buddy: fix use after free in process_buddy_photo_response()