https://bugs.linaro.org/show_bug.cgi?id=2511
Bug ID: 2511
Summary: CID 169560: leaked_storage
Product: OpenDataPlane - linux- generic reference
Version: v1.11.0.0
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: General ODP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
if (mem_failure == 1) {
600 printf("\nAllocate memory failure.\n");
601 goto out;
602 }
603 optind = 1; /* reset 'extern optind' from the getopt lib
*/
CID 169560 (#3 of 3): Resource leak (RESOURCE_LEAK)
40. leaked_storage: Variable local going out of scope leaks the storage it
points to.
604 return;
605
606out:
607 print_usage(argv[0]);
608 exit(EXIT_FAILURE);
609}
--
You are receiving this mail because:
You are the assignee for the bug.