fix refcount leak of tkmap instances when copying transient-local history from a local writer
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
ef65101ad7
commit
c169df6227
1 changed files with 1 additions and 0 deletions
|
@ -1618,6 +1618,7 @@ static void writer_add_local_connection (struct writer *wr, struct reader *rd)
|
|||
struct ddsi_tkmap_instance *tk = ddsi_tkmap_lookup_instance_ref(payload);
|
||||
make_proxy_writer_info(&pwr_info, &wr->e, wr->xqos);
|
||||
(void)(ddsi_plugin.rhc_plugin.rhc_store_fn) (rd->rhc, &pwr_info, payload, tk);
|
||||
ddsi_tkmap_instance_unref(tk);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue