whoops, debugging stuff left

Original commit message from CVS:
whoops, debugging stuff left
This commit is contained in:
Benjamin Otte 2004-04-05 22:58:11 +00:00
parent c5bed46905
commit 9f58cab1f9

View file

@ -205,8 +205,6 @@ again:
return NULL;
}
#ifdef HAVE_VALGRIND
//return g_malloc (mem_chunk->atom_size);
g_print ("alloc %p %lu\n", GST_MEM_CHUNK_DATA (chunk), mem_chunk->atom_size);
VALGRIND_MALLOCLIKE_BLOCK (GST_MEM_CHUNK_DATA (chunk), mem_chunk->atom_size,
0, 0);
#endif
@ -252,9 +250,7 @@ gst_mem_chunk_free (GstMemChunk * mem_chunk, gpointer mem)
chunk = GST_MEM_CHUNK_LINK (mem);
#ifdef HAVE_VALGRIND
//g_free (mem);
VALGRIND_FREELIKE_BLOCK (mem, 0);
g_print ("free %p\n", mem);
#endif
gst_trash_stack_push (&mem_chunk->stack, chunk);
}