Skip to content

CID 1508893: Resource leak #10424

Description

@maskit

inline/cache-handler.h

7. alloc_fn: Storage is returned from allocation function operator new.
   	8. var_assign: Assigning: io = storage returned from new ats::io::IO.
329      ats::io::IO *const io = new io::IO();
330
331      TSDebug(PLUGIN_TAG, "request:\n%s", request.c_str());
332
   	9. noescape: Resource io is not freed or pointed-to in copy. [[show details](https://scan6.scan.coverity.com/eventId=34658344-9&modelId=34658344-0&fileInstanceId=164786264&filePath=%2Fplugins%2Fexperimental%2Finliner%2Fts.cc&fileStart=52&fileEnd=58)]
   	10. noescape: Resource io is not freed or pointed-to in get. [[show details](https://scan6.scan.coverity.com/eventId=34658344-11&modelId=34658344-1&fileInstanceId=164786256&filePath=%2Fplugins%2Fexperimental%2Finliner%2Ffetcher.h&fileStart=327&fileEnd=330)]
333      ats::get(io, io->copy(request), AnotherClass(src_));
   	
CID 1508893 (#1 of 1): Resource leak (RESOURCE_LEAK)
11. leaked_storage: Variable io going out of scope leaks the storage it points to.
334    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions