https://bugs.linaro.org/show_bug.cgi?id=2147

            Bug ID: 2147
           Summary: CID 159394:  Resource leaks: shmem_odp.c
           Product: OpenDataPlane - linux- generic reference
           Version: 1.8
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: General ODP
          Assignee: lng-odp@lists.linaro.org
          Reporter: mike.hol...@linaro.org

/platform/linux-generic/test/shmem/shmem_odp.c: 54 in shmem_test_odp_shm_proc()
48      CU_ASSERT_FATAL(fd >= 0);
49
50      CU_ASSERT(read(fd, &test_result, sizeof(char)) == 1);
51      CU_ASSERT_FATAL(test_result == TEST_SUCCESS);
52
53      CU_ASSERT(odp_shm_free(shm) == 0);
>>>     CID 159394:  Resource leaks  (RESOURCE_LEAK)
>>>     Handle variable "fd" going out of scope leaks the handle.
54     }
55
56     odp_testinfo_t shmem_suite[] = {
57      ODP_TEST_INFO(shmem_test_odp_shm_proc),
58      ODP_TEST_INFO_NULL,
59     };

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to