Skip to content

Commit 3924db0

Browse files
committed
Fixed a mistake on Linux in the last commit
1 parent caede57 commit 3924db0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rtcheck.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,9 @@ INTERCEPTOR(void*, valloc, size_t size)
328328
INTERCEPTOR(void, free, void* ptr)
329329
{
330330
if (ptr != nullptr)
331-
{
332331
log_function_if_realtime_context_and_enabled (rtc::check_flags::free, __func__);
333-
INTERCEPT_FUNCTION(void, free, void*);
334-
}
335332

333+
INTERCEPT_FUNCTION(void, free, void*);
336334
return REAL(free)(ptr);
337335
}
338336

0 commit comments

Comments
 (0)