Changeset - 62e6bdab3c02
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-07-28 00:40:11
hanzz.k@gmail.com
call malloc_trim also in PurpleAccount destructor
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -274,6 +274,8 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
 
				purple_buddy_icons_set_account_icon(account, NULL, 0);
 

	
 
				purple_account_destroy(account);
 
				// force returning of memory chunks allocated by libxml2 to kernel
 
				malloc_trim(0);
 
// 				VALGRIND_DO_LEAK_CHECK;
 
			}
 
		}
0 comments (0 inline, 0 general)