Fix: lib: auto_seek_handle_message(): set `msg` to `NULL` when skipping
[babeltrace.git] / lib / graph / iterator.c
index 5cfda703252e185f1cb4646f844909ba8ab055f2..834a0b76f70818df85d8be0d8123abdd48d1c708 100644 (file)
@@ -1169,6 +1169,7 @@ enum bt_message_iterator_status auto_seek_handle_message(
 
 skip_msg:
        bt_object_put_no_null_check(msg);
+       msg = NULL;
        goto end;
 
 push_msg:
This page took 0.023443 seconds and 4 git commands to generate.