commit | c7ddf23e183aff4e22e74ae93793859930c69b2b | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Thu Jun 12 16:30:35 2014 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Thu Jun 12 16:30:57 2014 -0700 |
tree | c3bfcf38cc689d998cf87037a4aa1c8940d5c568 | |
parent | e0b70cc4e5c3973097a5d12906beb1875e0de469 [diff] [blame] |
loci: fix memory leak in locitest
diff --git a/c_gen/templates/locitest/test_ext.c b/c_gen/templates/locitest/test_ext.c index 7bd0998..8d28e87 100644 --- a/c_gen/templates/locitest/test_ext.c +++ b/c_gen/templates/locitest/test_ext.c
@@ -46,5 +46,7 @@ TEST_ASSERT(obj != NULL); TEST_ASSERT(obj->object_id == OF_ACTION_BSN_MIRROR); + of_object_delete(obj); + return TEST_PASS; }