Opened 9 years ago

Closed 8 years ago

#919 closed defect (fixed)

Memory leaks

Reported by: Veranika Liaukevich Owned by: Dimitar Misev
Priority: major Milestone: 9.2
Component: undecided Version: development
Keywords: Cc:
Complexity: Medium

Description (last modified by Dimitar Misev)

There are some places, where rasserver leaks memory.

Some examples:

  • Type::getTypeStructure method returns a pointer, which should be freed by the caller. In QtMDD constructor this pointer is not freed.
  • BLOBTile::initStorage duplicates FILEDATADIR string and doesn't free the memory
  • QueryTree::evaluateUpdate returns a pointer to a vector, which is not freed later by the caller

In general, we should integrate a valgrind test with directql in the systemtest.

Change History (4)

comment:1 by Peter Baumann, 9 years ago

this seems like a substantial change, would like to hear opinions.

Last edited 9 years ago by Peter Baumann (previous) (diff)

comment:2 by Dimitar Misev, 9 years ago

Description: modified (diff)
Milestone: 9.1
Owner: changed from Veranika Liaukevich to Dimitar Misev
Status: newassigned

comment:3 by Dimitar Misev, 9 years ago

Milestone: 9.19.2

comment:4 by Dimitar Misev, 8 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.