Closed Bug 468288 Opened 17 years ago Closed 16 years ago

CID 1232 _cmsCreateProfileFromFilePlaceholder leaks ICCfile when _cmsCreateProfilePlaceholder fails

Categories

(Core :: Graphics: Color Management, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: bholley)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity, memory-leak)

Event alloc_fn: Called allocation function "FileOpen" [model] Event var_assign: Assigned variable "ICCfile" to storage returned from "FileOpen" Also see events: [var_assign][leaked_storage] 342 LPVOID ICCfile = FileOpen(FileName); 343 At conditional (1): "ICCfile == 0" taking false path 344 if (ICCfile == NULL) { 345 346 cmsSignalError(LCMS_ERRC_ABORTED, "File '%s' not found", FileName); 347 return NULL; 348 } 349 350 NewIcc = (LPLCMSICCPROFILE) _cmsCreateProfilePlaceholder(); Event leaked_storage: Returned without freeing storage "ICCfile" Also see events: [alloc_fn][var_assign] At conditional (2): "NewIcc == 0" taking true path 351 if (NewIcc == NULL) return NULL;
Component: ImageLib → GFX: Color Management
QA Contact: imagelib → color-management
modules/lcms/ is gone.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.