From 04c0cec6fd662bf61fde2b166828c5558455bc00 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 1 Mar 2019 16:26:41 -0500 Subject: [PATCH] Fix: lib: auto_seek_handle_message(): set `msg` to `NULL` when skipping Signed-off-by: Philippe Proulx --- lib/graph/iterator.c | 1 + 1 file changed, 1 insertion(+) 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: -- 2.34.1