fix the point of point caused segmentation fault in the bencode example