Fix memory leak on portable builds
Fix memory leak on portable builds

The function get_server_path() sometimes returned an owned string,
sometimes a non-owned string.

Always return an allocated (owned) string, and free it after usage.

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy