projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add_component_with_init_method_data(): freeze parameters
[babeltrace.git]
/
lib
/
graph
/
graph.c
diff --git
a/lib/graph/graph.c
b/lib/graph/graph.c
index 29ebee34d545a49f7bfacb52c558233c05c375ce..b7d04b0a674b2d8fb44aa7659e9bc44e440206ca 100644
(file)
--- 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);
*/
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.");
if (init_method) {
BT_LOGD_STR("Calling user's initialization method.");
This page took
0.024641 seconds
and
4
git commands to generate.