fix crashes in script component

that code was guarded by !PLATFORM(QT) which I overlooked and
unconditionalized leaving the code, deleting the data should not
be done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-01-28 14:41:24 +02:00
parent 8378b13b08
commit 852f1addde

View file

@ -140,8 +140,6 @@ inline void ThreadSpecific<T>::destroy(void* ptr)
data->value->~T();
fastFree(data->value);
delete data;
#endif
}