You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/core/tdebase/non-fast-malloc.diff

16 lines
564 B

--- 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;