]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_memzone.c
test/memzone: fix NULL freeing
[dpdk.git] / test / test / test_memzone.c
index 83c94eb1ca208e25fe485b8b48884aff7ac6e572..151a997a8c91e8be4a4b543d162afbf644b42d4d 100644 (file)
@@ -251,10 +251,6 @@ test_memzone_reserve_flags(void)
                                printf("MEMZONE FLAG 2MB\n");
                                return -1;
                        }
-                       if (rte_memzone_free(mz)) {
-                               printf("Fail memzone free\n");
-                               return -1;
-                       }
                }
 
                if (hugepage_2MB_avail && hugepage_1GB_avail) {