mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
avoid shadowing arguments
This commit is contained in:
parent
91f4e4d3c8
commit
d88e8edd11
9 changed files with 37 additions and 37 deletions
|
|
@ -2693,11 +2693,11 @@ static DBusHandlerResult endpoint_set_configuration(DBusConnection *conn,
|
|||
is_new = transport == NULL;
|
||||
|
||||
if (is_new) {
|
||||
char *path = strdup(transport_path);
|
||||
char *tpath = strdup(transport_path);
|
||||
|
||||
transport = spa_bt_transport_create(monitor, path, 0);
|
||||
transport = spa_bt_transport_create(monitor, tpath, 0);
|
||||
if (transport == NULL) {
|
||||
free(path);
|
||||
free(tpath);
|
||||
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue