commit | b754ddf0fbd86ef1d2e9da536bc29d50488691f2 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Wed Jun 14 15:02:38 2017 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Wed Jun 14 15:02:38 2017 -0700 |
tree | 5e7dc37aae412a4149af1c50348f9830e0ccf285 | |
parent | 816d3fa0cd3217d0521f6eb25c3f9768d1f28d84 [diff] [blame] |
address feedback from review
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 9855dcf..3182c5a 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -797,13 +797,13 @@ if ( child->_prev ) { child->_prev->_next = child->_next; + child->_prev = 0; } if ( child->_next ) { child->_next->_prev = child->_prev; + child->_next = 0; } child->_parent = 0; - child->_next = 0; - child->_prev = 0; }