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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit0d47d31b29a40292ae11215ca77555a3deec3126
treeb06aa3f74c2d7ae091c312273363188126428dad
parentdb31688f3f76c241d473b17345a666f7ebc834dd
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.024417 seconds and 4 git commands to generate.