summaryrefslogtreecommitdiff
path: root/source3/mem_man
diff options
context:
space:
mode:
Diffstat (limited to 'source3/mem_man')
-rw-r--r--source3/mem_man/mem_man.c3
-rw-r--r--source3/mem_man/mem_man.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/mem_man/mem_man.c b/source3/mem_man/mem_man.c
index 34ae6fd43c..758fac4386 100644
--- a/source3/mem_man/mem_man.c
+++ b/source3/mem_man/mem_man.c
@@ -501,9 +501,8 @@ int smb_mem_free(void *ptr,char *file,int line)
static void mem_write_Index_info(int Index,FILE *outfile)
{
if (memory_blocks[Index].status != S_UNALLOCATED)
- fprintf(outfile,"block %d file %s(%d) : ptr: %p size %d, alloc size %d, status %s\n",
+ fprintf(outfile,"block %d file %s(%d) : size %d, alloc size %d, status %s\n",
Index,memory_blocks[Index].file,memory_blocks[Index].line,
- memory_blocks[Index].pointer,
memory_blocks[Index].present_size,
memory_blocks[Index].allocated_size,
status_to_str(memory_blocks[Index].status));
diff --git a/source3/mem_man/mem_man.h b/source3/mem_man/mem_man.h
index eef281b2f9..60e31e6d44 100644
--- a/source3/mem_man/mem_man.h
+++ b/source3/mem_man/mem_man.h
@@ -1,4 +1,4 @@
-#if (defined(NOMEMMAN) && !defined(MEM_MAN_MAIN) && defined(HAVE_MALLOC_H))
+#if (defined(NOMEMMAN) && !defined(MEM_MAN_MAIN))
#include <malloc.h>
#else