From ac31aee77cc016e41571b94d921a3821f735b8b7 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Wed, 7 Jun 2017 20:51:45 +0300 Subject: [PATCH] #37 Fix typo --- easy_profiler_core/profile_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_profiler_core/profile_manager.h b/easy_profiler_core/profile_manager.h index cb4bb1c..82ae4cb 100644 --- a/easy_profiler_core/profile_manager.h +++ b/easy_profiler_core/profile_manager.h @@ -389,7 +389,7 @@ public: // When stack gone empty we can resize buffer to use enough space in the future free(m_buffer); m_maxcapacity = m_capacity = std::max(m_maxcapacity, m_capacity << 1); - m_buffer = static_cast(malloc(m_buffer, m_capacity * sizeof(T))); + m_buffer = static_cast(malloc(m_capacity * sizeof(T))); } return;