summaryrefslogtreecommitdiff
path: root/src/fiber_thread.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-08 15:27:57 +0000
committerrubidium <rubidium@openttd.org>2008-06-08 15:27:57 +0000
commite43d0507301689d6178d310c98b1403588eb474f (patch)
tree376004aeb09d74a071fcdddcc61f01e9ea005d8b /src/fiber_thread.cpp
parenteac3301b63070ad0c0f1ce1323f25326ce90226d (diff)
downloadopenttd-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.cpp2
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);
}
/**