From 9fc9f71666ee55ce682afb0ab3ccccda853d04d2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 5 Feb 2020 23:16:18 +0100 Subject: [PATCH] Properly initialize callstack frame tree. --- server/TracyEvent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 0f781277..25b3ef3c 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -323,7 +323,7 @@ enum { CallstackFrameIdSize = sizeof( CallstackFrameId ) }; struct CallstackFrameTree { - CallstackFrameTree( CallstackFrameId id ) : frame( id ) {} + CallstackFrameTree( CallstackFrameId id ) : frame( id ), alloc( 0 ), count( 0 ) {} CallstackFrameId frame; uint64_t alloc;