Commit 7236a771 authored by Youness Alaoui's avatar Youness Alaoui

we must return the local credentials by strduping the ufrag/pwd

parent f9cfc6da
...@@ -1209,8 +1209,8 @@ nice_agent_get_local_credentials ( ...@@ -1209,8 +1209,8 @@ nice_agent_get_local_credentials (
goto done; goto done;
} }
*ufrag = stream->local_ufrag; *ufrag = strdup (stream->local_ufrag);
*pwd = stream->local_password; *pwd = strdup (stream->local_password);
ret = TRUE; ret = TRUE;
done: done:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment