bridge: Quiesce RESOURCE_LEAK coverity error
bridge: Quiesce RESOURCE_LEAK coverity error

If parse_address() fails, it does not allocate the `name` return value.
But the logic is rather hard to follow (too much for coverity).
Rewrite the function to use automatic memory management.

Part of https://bugzilla.redhat.com/show_bug.cgi?id=1938693

cockpit-project/cockpit,mvollmer/cockpit,garrett/cockpit,mvollmer/cockpit,martinpitt/cockpit,garrett/cockpit,martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,garrett/cockpit,martinpitt/cockpit,martinpitt/cockpit,garrett/cockpit,mvollmer/cockpit,martinpitt/cockpit,garrett/cockpit,cockpit-project/cockpit,mvollmer/cockpit,cockpit-project/cockpit,cockpit-project/cockpit