From 4bc1588a5e17ebc4281a4e200a3842569d423e8f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 2 Nov 2019 16:57:18 +0100 Subject: [PATCH] Clear proper vector. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 78f5ab85..905a2fac 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -966,7 +966,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks ) { f.Read( sz ); m_data.gpuChildren.reserve_exact( sz, m_slab ); - memset( m_data.zoneChildren.data(), 0, sizeof( Vector> ) * sz ); + memset( m_data.gpuChildren.data(), 0, sizeof( Vector> ) * sz ); } childIdx = 0; f.Read( sz );