Skip to content

Commit 38ad86b

Browse files
committed
fix(memstat): build error
1 parent f9e0a4b commit 38ad86b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

matrix/matrix-iOS/Matrix/WCMemoryStat/MemoryLogger/memory_logging.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -761,10 +761,6 @@ void disable_memory_logging(void) {
761761
if (syscall_logger != NULL) {
762762
*syscall_logger = NULL;
763763
}
764-
#else
765-
if (memory_stat_callback[2] != NULL) {
766-
*((malloc_logger_t **)memory_stat_callback[2]) = NULL;
767-
}
768764
#endif
769765

770766
// make current logging invalid

0 commit comments

Comments
 (0)