From a3d6646b9963687ce239c598f332d7afba252e73 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Mon, 31 Aug 2009 20:37:47 +0200 Subject: [PATCH] Fix a failing autotest. --- autotest/test_message.tcc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autotest/test_message.tcc b/autotest/test_message.tcc index 7569992..fef366c 100644 --- a/autotest/test_message.tcc +++ b/autotest/test_message.tcc @@ -31,7 +31,9 @@ EXO_TEST(adc_message_parse_1, { EXO_TEST(adc_message_parse_2, { struct adc_message* msg = adc_msg_create(test_string2); - return msg == NULL; + int ok = (msg != NULL); + adc_msg_free(msg); + return ok; }); EXO_TEST(adc_message_parse_3, {