Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ecd402
)
ecere/com/memory manager: Fixed uninitialized size for large memory allocations ...
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 16 Mar 2013 20:20:35 +0000
(16:20 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 16 Mar 2013 20:20:35 +0000
(16:20 -0400)
- Caused problems on cleared reallocations, e.g. Array::size and the EditBox UndoBuffer
ecere/src/com/instance.ec
patch
|
blob
|
history
diff --git
a/ecere/src/com/instance.ec
b/ecere/src/com/instance.ec
index
cb37bfa
..
13d6847
100644
(file)
--- a/
ecere/src/com/instance.ec
+++ b/
ecere/src/com/instance.ec
@@
-1196,6
+1196,7
@@
static void * _mymalloc(unsigned int size)
TOTAL_MEM += sizeof(class MemBlock) + size;
OUTSIDE_MEM += sizeof(class MemBlock) + size;
block.part = null;
+ block.size = size;
}
}
}