summaryrefslogtreecommitdiff
path: root/libs/ardour/plugin_manager.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-08-18 14:04:21 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-08-18 15:10:55 +1000
commit36e4c11a2ac8e1a2310d948b6f039d28be4cf521 (patch)
tree1c7ec787a5766217c0cf39f41a2ad3b79d4c4520 /libs/ardour/plugin_manager.cc
parent1d05b5d25de1dad9ca6474a4b714d940d43206c0 (diff)
Add utility function to get windows packaging directory to avoid memory leaks
There were a few other small leaks in pbd and evoral test code but I didn't bother changing them. Perhaps this function would be better off in PBD:: so it can be used everywhere.
Diffstat (limited to 'libs/ardour/plugin_manager.cc')
-rw-r--r--libs/ardour/plugin_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc
index 4eb67db48d..7a14154d3c 100644
--- a/libs/ardour/plugin_manager.cc
+++ b/libs/ardour/plugin_manager.cc
@@ -123,7 +123,7 @@ PluginManager::PluginManager ()
#ifdef PLATFORM_WINDOWS
// on windows the .exe needs to be in the same folder with libardour.dll
- vstsp += Glib::build_filename(g_win32_get_package_installation_directory_of_module (0), "bin");
+ vstsp += Glib::build_filename(windows_package_directory_path(), "bin");
#else
// on Unices additional internal-use binaries are deployed to $libdir
vstsp += ARDOUR::ardour_dll_directory();