Changeset - 46cd8f966425
[Not reviewed]
0 1 0
Florian Kinder - 7 years ago 2018-12-01 10:29:59
florian.kinder@fankserver.com
Fixed malloc_trim
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
libtransport/UserManager.cpp
Show inline comments
 
@@ -125,10 +125,12 @@ void UserManager::removeUser(User *user, bool onUserBehalf) {
 
#ifndef WIN32
 
#ifndef __FreeBSD__
 
#ifndef __MACH__
 
#if defined (__GLIBC__)
 
	malloc_trim(0);
 
#endif
 
#endif
 
#endif
 
#endif
 
// 	VALGRIND_DO_LEAK_CHECK;
 
}
 

	
0 comments (0 inline, 0 general)