summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-13 13:49:07 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-13 13:53:26 +0100
commitd9447ba5e6ed74fb60d8a945f9e329fab4380762 (patch)
tree63a403222a2919ddf9f69e86283f8cfacb9e0151
parentf81e8f7b9dbd2bd9fd5e52c76fd50a5f956a24a4 (diff)
m2ua: Free the resources at the end
-rw-r--r--tests/m2ua/m2ua_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/m2ua/m2ua_test.c b/tests/m2ua/m2ua_test.c
index cd6f9ad..c257d82 100644
--- a/tests/m2ua/m2ua_test.c
+++ b/tests/m2ua/m2ua_test.c
@@ -50,5 +50,8 @@ int main(int argc, char **argv)
FAIL("Wrong memory");
}
+ m2ua_msg_free(m2u);
+ msgb_free(msg);
+
return 0;
}