summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Pluvinage <lucas@tarides.com>2023-03-08 11:36:40 +0100
committerLucas Pluvinage <lucas@tarides.com>2023-03-15 18:17:37 +0100
commit9a004f1518fc60443c4d0eabf1ea3fd93dc18b65 (patch)
tree683ba8eb0dc199027f9c5c870e159df8c2932f44
parent634a1bc02facd1403dae0aa1eaacd917c4b314e0 (diff)
downloadocaml-9a004f1518fc60443c4d0eabf1ea3fd93dc18b65.tar.gz
runtime events consumer: fix cursor initialization
-rw-r--r--otherlibs/runtime_events/runtime_events_consumer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/runtime_events/runtime_events_consumer.c b/otherlibs/runtime_events/runtime_events_consumer.c
index df7ca2d24f..cdaf45a2b3 100644
--- a/otherlibs/runtime_events/runtime_events_consumer.c
+++ b/otherlibs/runtime_events/runtime_events_consumer.c
@@ -235,6 +235,7 @@ caml_runtime_events_create_cursor(const char_os* runtime_events_path, int pid,
cursor->lost_events = NULL;
cursor->user_unit = NULL;
cursor->user_int = NULL;
+ cursor->user_span = NULL;
cursor->user_custom = NULL;
*cursor_res = cursor;