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

            Bug ID: 1067
           Summary: CID 85531:  ticketlock_api_tests Resource leak
           Product: OpenDataPlane
           Version: 0.7
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: ---
         Component: Validation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

*** CID 85531:  Resource leak  (RESOURCE_LEAK)
/test/validation/odp_synchronizers.c: 346 in ticketlock_api_tests()
340
341             odp_barrier_wait(&global_mem->global_barrier);
342
343             ticketlock_api_test(&local_ticket_lock);
344             ticketlock_api_test(&per_thread_mem->per_thread_ticketlock);
345
>>>     CID 85531:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "per_thread_mem" going out of scope leaks the storage it 
>>> points to.
346             return NULL;
347     }
348
349     static void rwlock_api_test(odp_rwlock_t *rw_lock)
350     {
351             odp_rwlock_init(rw_lock);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
http://scan.coverity.com/projects/2925?tab=overview

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to