diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-31 14:05:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-31 14:05:28 +0000 |
commit | 96521495f8c0070537be42c97f8fcbe55ec3990f (patch) | |
tree | 95f73fa059c49ee71510e90a93f344ce46731148 /src/core/module.cc | |
parent | 32317145166988e5f9c65395bfc027aa2d32ed0e (diff) |
most love valgrind
Diffstat (limited to 'src/core/module.cc')
-rw-r--r-- | src/core/module.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/module.cc b/src/core/module.cc index 8eef50f..447e2b3 100644 --- a/src/core/module.cc +++ b/src/core/module.cc @@ -9,13 +9,12 @@ namespace core { -Module *Module::module_preload; +Module *Module::module_preload = 0; -Module::Module(const char *name) +Module::Module(const char *name) : + module_name(name) { module_running = false; - module_name.assign(name); - module_preload = 0; } Module::~Module() |