usp10 #1/2: create HandleTables to keep track of memory allocation.
lats at yless4u.com.au
Mon Nov 6 06:37:03 CST 2006
These 2 patches implement HandleTables for tracking memory usage for the
SCRIPT_STRING_ANALYSIS pointer. The problem is that the ssa can be
copied to another pointer and NULL'ing the pointer is not a reliable
means of de-allocating the pointer. The use of HandleTables looks like
a solution to the problem but it depends on whether storing a handle in
the ssa pointer is acceptable. The table is of fixed size which is
another potential problem but tests indicate that the number of handles
in use will remain relatively small by comparison to the table size.
Advice is welcome.
Create HandleTables to keep track of memory allocation
dlls/usp10/Makefile.in | 2 +
dlls/usp10/usp10.c | 71
2 files changed, 70 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3869 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061106/99ab5f72/c732c6a499417596679994ec8316073d90016387.bin
More information about the wine-patches