Merge "stasis: refcounter.py can incorrectly report skewed objects."

This commit is contained in:
Friendly Automation
2019-09-23 14:07:27 -05:00
committed by Gerrit Code Review

View File

@@ -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);