mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 05:20:05 +01:00
lua: fix wp_lua_log_topic_copy() to copy the topic name correctly
Fixes: #757
This commit is contained in:
parent
4d02d0275f
commit
a1bc3d9285
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ static WpLuaLogTopic *
|
|||
wp_lua_log_topic_copy (WpLuaLogTopic *topic)
|
||||
{
|
||||
WpLuaLogTopic *copy = g_new0 (WpLuaLogTopic, 1);
|
||||
copy->topic_name = g_ref_string_acquire ((char *) copy->topic_name);
|
||||
copy->topic_name = g_ref_string_acquire ((char *) topic->topic_name);
|
||||
wp_log_topic_register (copy);
|
||||
return copy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue