mirror of
https://github.com/LIV2/amitools.git
synced 2025-12-06 06:32:47 +00:00
Exec: fixed AllocPooled when allocating larger chunks
Fix submitted by Frank Wille
This commit is contained in:
parent
a7df69aecd
commit
56d71f3872
@ -22,7 +22,7 @@ class Puddle:
|
||||
self.mem_obj = None
|
||||
|
||||
def AllocPooled(self, name, size):
|
||||
return self.chunks.alloc_memory(size, label=name)
|
||||
return self.chunks.alloc_memory(size, label=name, except_on_failure=False)
|
||||
|
||||
def FreePooled(self, addr, size):
|
||||
mem = self.chunks.get_memory(addr)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user