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/?a=commitdiff_plain;h=8e3f324398482dbbe6c5f2202e58cff7a89b429e;hp=06aa0b382c902d21cd86fff4181e82c0eb27f9d0;p=deliverable%2Fbabeltrace.git 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 5cfda7032..834a0b76f 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: