diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 13:33:26 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 13:33:26 -0800 |
commit | d71d3b4aaa995681a20207d72cf3b6ac9c3d72c0 (patch) | |
tree | ca58f43304e071193151e164d5d26b8d178f6a59 /031address.cc | |
parent | a1633455898347dd973ba99e0db0c06c8a3fb752 (diff) | |
download | mu-d71d3b4aaa995681a20207d72cf3b6ac9c3d72c0.tar.gz |
2388 - final layer of edit/ loaded successfully
Diffstat (limited to '031address.cc')
-rw-r--r-- | 031address.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/031address.cc b/031address.cc index 306621f1..c4b260d1 100644 --- a/031address.cc +++ b/031address.cc @@ -92,6 +92,13 @@ void drop_address_from_type(reagent& r) { r.type = tmp->right; tmp->right = NULL; delete tmp; + // property + if (r.properties.at(0).second) { + string_tree* tmp2 = r.properties.at(0).second; + r.properties.at(0).second = tmp2->right; + tmp2->right = NULL; + delete tmp2; + } } void drop_one_lookup(reagent& r) { |