aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-06-22 10:14:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-06-22 10:14:09 +0200
commit735927b150d2262a317a99b563af57a97e8dd67c (patch)
treefa17d753d1256fdd51d8ec3ae589764fa44d986f
parentbbe8cbd13c40a1309e0d7724319c5487a5df0879 (diff)
Add missing match_data() destructor
-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.