Hi,

Please find the latest report on new defect(s) introduced to coreboot found 
with Coverity Scan.

1 new defect(s) introduced to coreboot found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1452697:  Resource leaks  (RESOURCE_LEAK)
/tests/lib/region_file-test.c: 32 in setup_region_file_test_group()


________________________________________________________________________________________________________
*** CID 1452697:  Resource leaks  (RESOURCE_LEAK)
/tests/lib/region_file-test.c: 32 in setup_region_file_test_group()
26     
27      rdev_chain_mem_rw(dev, mem_buffer, REGION_FILE_BUFFER_SIZE);
28      *state = dev;
29     
30      clear_region_file(dev);
31     
>>>     CID 1452697:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "mem_buffer" going out of scope leaks the storage it points to.
32      return 0;
33     }
34     
35     static int teardown_region_file_test_group(void **state)
36     {
37      struct region_device *dev = *state;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3Dbdmn_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn0YanAj-2BNnPAOu41jzksshIlcjT9syrrJmrOdojoaaorrkMAPaA-2BmypZBk5pvbVV0e-2By3W-2Bf4yoAmaFOh28S-2FvHMVurAxqdQEum2oWuoO2LFzLAcI6PloNKHVrT1OFmN6X66-2BVug6bT7hpTNB7lY9PdqkB5zLuFhUBSSBNLW7Tap2OKtcTH-2BBNXquxt4HFQOao-3D

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to