Opened 10 years ago

Last modified 8 years ago

#919 closed defect

Memory leaks — at Version 2

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 (2)

comment:1 by Peter Baumann, 10 years ago

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

Last edited 10 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
Note: See TracTickets for help on using tickets.