aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/target.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index bf8c4fe..411025c 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -220,6 +220,11 @@ namespace build2
//
void
free ();
+
+ ~match_extra ()
+ {
+ clear_data ();
+ }
};
// Target.