Commit 9d772b35 authored by Kevin Coulomb's avatar Kevin Coulomb
Browse files

Petites modifications

parent 9c723680
......@@ -48,8 +48,10 @@ public:
* \brief Destructor
*/
~Node() {
delete _left_child;
delete _right_child;
if (_left_child)
delete _left_child;
if(_right_child)
delete _right_child;
delete _element;
}
......
Supports Markdown
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