diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index 0549698383..0cefd62137 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -337,6 +337,8 @@ path_expand (string path) */ } + regfree (&compiled_pattern); + /* canonicalize */ char buf[PATH_MAX+1];