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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
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.025155 seconds and 5 git commands to generate.