Fix the unused arguments of heap commands (#1659)

pull/1665/head
Alan Li 3 years ago committed by GitHub
parent 3ba5c1555f
commit ceb7258de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -166,7 +166,7 @@ def heap(addr=None, verbose=False, simple=False) -> None:
if addr is not None:
chunk = Chunk(addr)
while chunk is not None:
malloc_chunk(chunk.address)
malloc_chunk(chunk.address, verbose=verbose, simple=simple)
chunk = chunk.next_chunk()
else:
arena = allocator.thread_arena
@ -177,7 +177,7 @@ def heap(addr=None, verbose=False, simple=False) -> None:
h = arena.active_heap
for chunk in h:
malloc_chunk(chunk.address)
malloc_chunk(chunk.address, verbose=verbose, simple=simple)
parser = argparse.ArgumentParser(

Loading…
Cancel
Save