Commit e9ebfbaa authored by berenger-bramas's avatar berenger-bramas

Smart pointer dealloc by [] in any case

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@383 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 02ac4e77
......@@ -63,7 +63,7 @@ public:
if(counter){
(*counter) = (*counter) - 1;
if( (*counter) == 0 ){
delete pointer;
delete[] pointer;
}
pointer = 0;
counter = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment