diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-15 04:09:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-15 13:24:39 +0200 |
commit | 12cf9d5be806437a52636a6e4bd8ee5baf46c49a (patch) | |
tree | fd1d39cc982cd548075cb588b0e8fc55c415853d /libs/pbd/file_utils.cc | |
parent | 55d51d38cef6c293560a83a6a81bca2fd96f2bcb (diff) |
fix pathscanner / stl_vector related memory leaks
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r-- | libs/pbd/file_utils.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index dd9805a3f3..756bd24fe4 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -238,6 +238,7 @@ copy_files(const std::string & from_path, const std::string & to_dir) copy_file (from, to); } vector_delete (files); + delete (files); } } |