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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
commitf433d1bfa7624c7a185f6a2ff843911a1f4cefab
tree94c6509764117aec20a8120c25ac927e06fbb42c
parentbe317490097576374333c1dfcec3593c39e18b53
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.02395 seconds and 4 git commands to generate.