summaryrefslogtreecommitdiff
path: root/navit/support/glib/gslice.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/support/glib/gslice.c')
-rw-r--r--navit/support/glib/gslice.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/navit/support/glib/gslice.c b/navit/support/glib/gslice.c
index 29165bc5a..82394c8b2 100644
--- a/navit/support/glib/gslice.c
+++ b/navit/support/glib/gslice.c
@@ -34,6 +34,7 @@
#include "gthreadprivate.h"
#include "glib.h"
#include "galias.h"
+#include "fake.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* sysconf() */
#endif
@@ -1265,17 +1266,17 @@ smc_notify_free (void *pointer,
found_one = smc_tree_lookup (adress, &real_size);
if (!found_one)
{
- fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
+// fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
return 0;
}
if (real_size != size && (real_size || size))
{
- fprintf (stderr, "GSlice: MemChecker: attempt to release block with invalid size: %p size=%" G_GSIZE_FORMAT " invalid-size=%" G_GSIZE_FORMAT "\n", pointer, real_size, size);
+// fprintf (stderr, "GSlice: MemChecker: attempt to release block with invalid size: %p size=%" G_GSIZE_FORMAT " invalid-size=%" G_GSIZE_FORMAT "\n", pointer, real_size, size);
return 0;
}
if (!smc_tree_remove (adress))
{
- fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
+// fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
return 0;
}
return 1; /* all fine */