diff options
author | rubidium <rubidium@openttd.org> | 2008-06-08 15:27:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-08 15:27:57 +0000 |
commit | e43d0507301689d6178d310c98b1403588eb474f (patch) | |
tree | 376004aeb09d74a071fcdddcc61f01e9ea005d8b /src/fiber_thread.cpp | |
parent | eac3301b63070ad0c0f1ce1323f25326ce90226d (diff) | |
download | openttd-e43d0507301689d6178d310c98b1403588eb474f.tar.xz |
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
Diffstat (limited to 'src/fiber_thread.cpp')
-rw-r--r-- | src/fiber_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fiber_thread.cpp b/src/fiber_thread.cpp index fb4e8debf..5155b5519 100644 --- a/src/fiber_thread.cpp +++ b/src/fiber_thread.cpp @@ -32,7 +32,7 @@ public: { this->m_sem = ThreadSemaphore::New(); /* Create a thread and start stFiberProc */ - this->m_thread = ThreadObject::New(&stFiberProc, this, NULL); + this->m_thread = ThreadObject::New(&stFiberProc, this); } /** |