mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Merge "stasis: refcounter.py can incorrectly report skewed objects."
This commit is contained in:
@@ -514,7 +514,7 @@ static int link_topic_proxy(struct stasis_topic *topic, const char *name, const
|
||||
}
|
||||
|
||||
proxy = ao2_t_weakproxy_alloc(
|
||||
sizeof(*proxy) + strlen(name) + 1 + strlen(detail) + 1, NULL, topic->name);
|
||||
sizeof(*proxy) + strlen(name) + 1 + strlen(detail) + 1, NULL, name);
|
||||
if (!proxy) {
|
||||
ao2_unlock(topic_all);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user