Fix: add_component_with_init_method_data(): freeze parameters
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 20 Mar 2019 20:59:28 +0000 (16:59 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit12ecd11ac739264b9cce24cce3118f1942ea3858
treeb06aa3f74c2d7ae091c312273363188126428dad
parent63d362f18286f3fff0b39a6049fbedbd8fff617d
Fix: add_component_with_init_method_data(): freeze parameters

In add_component_with_init_method_data(), an internal function called by
all the bt_graph_add_*_component*() functions, the function must freeze
the parameters value object (developer mode) in order to prevent further
changes of this object (and its children), since at this point the
object becomes shared with other users.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
lib/graph/graph.c
This page took 0.023513 seconds and 5 git commands to generate.