Fix: lib: auto_seek_handle_message(): set `msg` to `NULL` when skipping
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 1 Mar 2019 21:26:41 +0000 (16:26 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
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.024868 seconds and 4 git commands to generate.