OpenCALTeam / opencal

OpenCAL, the Open Computing Abstraction Layer Domain Specific Language for Structured Grid Meshes
GNU Lesser General Public License v3.0
13 stars 1 forks source link

Memory leak in calActiveCells #22

Open knotman90 opened 8 years ago

knotman90 commented 8 years ago

At the copy constructor https://github.com/OpenCALTeam/opencal/blob/master/OpenCAL%2B%2B/source/calActiveCells.cpp#L41

memory should be freed first than reallocated.

Suggest to test the whole library using valgrind