Fixed: path_location string was deallocated before being sent