From: Philippe Proulx Date: Fri, 1 Mar 2019 21:26:41 +0000 (-0500) Subject: Fix: lib: auto_seek_handle_message(): set `msg` to `NULL` when skipping X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=04c0cec6fd662bf61fde2b166828c5558455bc00 Fix: lib: auto_seek_handle_message(): set `msg` to `NULL` when skipping Signed-off-by: Philippe Proulx --- diff --git a/lib/graph/iterator.c b/lib/graph/iterator.c index 5cfda703..834a0b76 100644 --- a/lib/graph/iterator.c +++ b/lib/graph/iterator.c @@ -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: