malloc_trim is glibc only

This commit is contained in:
dec05eba
2025-10-31 09:44:16 +01:00
parent a6b1111230
commit 85e8b04ee2

View File

@@ -1449,7 +1449,9 @@ namespace gsr {
}
deinit_theme();
#ifdef __GLIBC__
malloc_trim(0);
#endif
}
void Overlay::hide_next_frame() {