summaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/ingen_bindings.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/bindings/ingen_bindings.cpp b/src/bindings/ingen_bindings.cpp
index a16890cd..fa365571 100644
--- a/src/bindings/ingen_bindings.cpp
+++ b/src/bindings/ingen_bindings.cpp
@@ -28,16 +28,12 @@ struct IngenBindingsModule : public Ingen::Shared::Module {
}
};
-static IngenBindingsModule* module = NULL;
-
extern "C" {
Ingen::Shared::Module*
-ingen_module_load() {
- if (!module)
- module = new IngenBindingsModule();
-
- return module;
+ingen_module_load()
+{
+ return new IngenBindingsModule();
}
void