Coverity RESOURCE_LEAK - CID 13682
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Autopilot Qt Support | Status tracked in Trunk | |||||
Trunk |
Invalid
|
High
|
Unassigned |
Bug Description
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/
CID: 13682
Checker: RESOURCE_LEAK
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: qt_testability_init
Code snippet:
62 << "Autopilot introspection will not be available for this process." << std::endl;
63 return;
64 }
65
CID 13682 - RESOURCE_LEAK
Storage is returned from allocation function "dlopen(char const *, int)".
Assigning: "driver" = storage returned from "dlopen(
66 void* driver = dlopen(
67 if (!driver)
68 {
69 std::cerr << "Cannot load library: " << dlerror() << std::endl
70 << "Autopilot introspection will not be available for this process." << std::endl;
71 return;
Source file with Coverity annotations.