mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix pathscanner / stl_vector related memory leaks
This commit is contained in:
parent
55d51d38ce
commit
12cf9d5be8
10 changed files with 28 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "pbd/replace_all.h"
|
||||
#include "pbd/whitespace.h"
|
||||
#include "pbd/stacktrace.h"
|
||||
#include "pbd/stl_delete.h"
|
||||
#include "pbd/openuri.h"
|
||||
|
||||
#include "ardour/audioengine.h"
|
||||
|
|
@ -642,6 +643,8 @@ SessionDialog::redisplay_recent_sessions ()
|
|||
/* no state file? */
|
||||
continue;
|
||||
}
|
||||
vector_delete (states);
|
||||
delete (states);
|
||||
|
||||
std::vector<string> state_file_names(get_file_names_no_extension (state_file_paths));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue