about summary refs log tree commit diff stats
path: root/031address.cc
diff options
context:
space:
mode:
Diffstat (limited to '031address.cc')
-rw-r--r--031address.cc7
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) {