summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2005-04-06 19:10:43 +0000
committerStefan Siegl <stesie@brokenpipe.de>2005-04-06 19:10:43 +0000
commita30104da1b25b3e5fa376609206843cc9eb8de87 (patch)
treef2523188fcd94573aeae6d816e2b449bde465f25
parent60a822306621aeac64e79b83d0e4cff09afb1649 (diff)
disabling malloc debugging
-rw-r--r--fuse_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuse_i.h b/fuse_i.h
index 1e721a6ed..da18c64c3 100644
--- a/fuse_i.h
+++ b/fuse_i.h
@@ -167,7 +167,7 @@ extern FILE *debug_port;
/* malloc debugging */
-#if 1
+#if 0
static char *_strdup(const char *s, const char *f, int l) {
void *ptr = strdup(s);
DEBUG("strdup", "ptr=%8p [%s:%d]\n", ptr, f, l);
@@ -188,6 +188,6 @@ DEBUG(" free", "ptr=%8p [%s:%d]\n", ptr, f, l);
free(ptr);
}
#define free(s) _free(s, __FILE__, __LINE__)
-#endif
+#endif /* malloc debugging */
#endif /* FUSE_INTERNAL_H */