Skip to content
Commit a07d0731 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

tests: mbox_api: Fully initialize k_box_msg struct



`mmsg` should be fully initialized prior to calling k_mbox_get().  The
mailbox implementation (mainly, mbox_message_match()) will look inside
the second parameter passed to k_mbox_get() in order to determine if
which pending messages should be returned to the caller.

Fixes Valgrind warning listed in #7478.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 0e23ad88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment