From de938076da92b659a4bdac286f0daa0a2f393989 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 6 Jun 2016 19:33:05 +0300 Subject: Add static repeated submessage field to mem_release test case. Attempt at reproducing issue #204. --- tests/mem_release/mem_release.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/mem_release/mem_release.c') diff --git a/tests/mem_release/mem_release.c b/tests/mem_release/mem_release.c index 40fdc9e4..dc6f87de 100644 --- a/tests/mem_release/mem_release.c +++ b/tests/mem_release/mem_release.c @@ -25,6 +25,8 @@ static void fill_TestMessage(TestMessage *msg) msg->static_req_submsg.dynamic_submsg = test_msg_arr; msg->static_req_submsg.dynamic_submsg[1].dynamic_str = "abc"; msg->static_opt_submsg.dynamic_str = "abc"; + msg->static_rep_submsg_count = 2; + msg->static_rep_submsg[1].dynamic_str = "abc"; msg->has_static_opt_submsg = true; msg->dynamic_submsg = &msg->static_req_submsg; -- cgit 1.2.3-korg