diff options
author | David Robillard <d@drobilla.net> | 2008-09-28 03:56:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-28 03:56:26 +0000 |
commit | 61bd86208f7d93b02bc62e768d0b72b262e80535 (patch) | |
tree | 49788f0470505a729d1d64ad1aceb6614f38d151 /src | |
parent | 9c665df722565ec8c994fba371dea69d5f934db4 (diff) | |
download | ingen-61bd86208f7d93b02bc62e768d0b72b262e80535.tar.gz ingen-61bd86208f7d93b02bc62e768d0b72b262e80535.tar.bz2 ingen-61bd86208f7d93b02bc62e768d0b72b262e80535.zip |
Fix unlocked access to plugin RDF (possible segfault with -eg).
Fix ticket #195.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1521 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/client/PluginModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp index 32d9fd69..93176b22 100644 --- a/src/libs/client/PluginModel.cpp +++ b/src/libs/client/PluginModel.cpp @@ -60,6 +60,8 @@ PluginModel::human_name() string PluginModel::port_human_name(uint32_t index) { + Glib::Mutex::Lock lock(_rdf_world->mutex()); + #ifdef HAVE_SLV2 if (_slv2_plugin) { SLV2Port port = slv2_port(index); |