diff mbox series

[v1,3/4] test: classifier: fix double free

Message ID 1503003607-14013-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series None | expand

Commit Message

Github ODP bot Aug. 17, 2017, 9 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


looks like merge conflict was resolved wrongly and test has
double free.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 131 (muvarov:master_loop_cls_fix)
 ** https://github.com/Linaro/odp/pull/131
 ** Patch: https://github.com/Linaro/odp/pull/131.patch
 ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191
 ** Merge commit sha: 30f51ee13b0bf800873a9be2c9a15b6a0c1db14d
 **/
 .../validation/api/classification/odp_classification_test_pmr.c         | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
index e6b496a1..0acf2cf7 100644
--- a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
+++ b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
@@ -171,8 +171,6 @@  void classification_test_pktin_classifier_flag(void)
 	CU_ASSERT(seqno == cls_pkt_get_seq(pkt));
 
 	odp_packet_free(pkt);
-
-	odp_packet_free(pkt);
 	odp_cos_destroy(cos);
 	odp_cos_destroy(default_cos);
 	odp_cls_pmr_destroy(pmr);