summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/non-fast-malloc.diff
blob: c3f36be8704044d428ed5d232a067ed2181ae26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- konqueror/konq_mainwindow.cc
+++ konqueror/konq_mainwindow.cc	2003/05/30 13:19:04
@@ -4550,9 +4550,9 @@
     int usage_sum = 0;
 #if defined(KDE_MALLINFO_STDLIB) || defined(KDE_MALLINFO_MALLOC)
     // ugly hack for kdecore/malloc
-    extern int kde_malloc_is_used;
-    free( calloc( 4, 4 )); // trigger setting kde_malloc_is_used
-    if( kde_malloc_is_used )
+//    extern int kde_malloc_is_used;
+//    free( calloc( 4, 4 )); // trigger setting kde_malloc_is_used
+    if( 0 )
     {
 	struct mallinfo m = mallinfo();
 	usage_sum = m.hblkhd + m.uordblks;