X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fgraph.c;fp=lib%2Fgraph%2Fgraph.c;h=b7d04b0a674b2d8fb44aa7659e9bc44e440206ca;hb=0d47d31b29a40292ae11215ca77555a3deec3126;hp=29ebee34d545a49f7bfacb52c558233c05c375ce;hpb=db31688f3f76c241d473b17345a666f7ebc834dd;p=babeltrace.git diff --git a/lib/graph/graph.c b/lib/graph/graph.c index 29ebee34..b7d04b0a 100644 --- a/lib/graph/graph.c +++ b/lib/graph/graph.c @@ -1295,6 +1295,7 @@ enum bt_graph_status add_component_with_init_method_data( */ g_ptr_array_add(graph->components, component); bt_component_set_graph(component, graph); + bt_value_freeze(params); if (init_method) { BT_LOGD_STR("Calling user's initialization method.");