Memorey Leak | developer.brewmp.com Memorey Leak | developer.brewmp.com

Developer

Memorey Leak

Forums:

Hi All,

I am creating instance of ITypeFace
dwResult = ISHELL_CreateInstance(shell,AEECLSID_BTFETypeface,(void**)&pitf);

and after that i am releasing the instance by using

rel=IQI_Release((IQI*)pitf);

but still i am getting a warning which i am showing down
12:28:00:004 AEEModule.c:266 - Warning -- memory leak, freeing, 0x52F9918, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 116
12:28:00:035 AEEModule.c:266 - Warning -- memory leak, freeing, 0x5300CB0, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 64
12:28:00:051 AEEModule.c:266 - Warning -- memory leak, freeing, 0x5380260, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 6
12:28:00:082 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D7FC0, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 232
12:28:00:098 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D8B88, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 684
12:28:00:129 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D8E50, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 15
12:28:00:160 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D90A8, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 1132
12:28:00:176 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9530, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 480
12:28:00:207 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9728, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 28
12:28:00:223 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D97C8, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 136
12:28:00:254 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9C00, .\src\BTFEHFont.c:718, size 304
12:28:00:285 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9D48, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 56
12:28:00:301 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9D98, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 36
12:28:00:332 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53D9E70, .\DisplayImaging\wtle\product\source\base\tsmem.c:33, size 64
12:28:00:348 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DA7F8, .\DisplayImaging\wtle\product\source\base\tsmem.c:39, size 10
12:28:00:379 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DC818, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 15
12:28:00:395 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DC840, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 14
12:28:00:426 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DCBD8, .\DisplayImaging\wtle\product\source\base\tsmem.c:39, size 360
12:28:00:457 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DCD58, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 44
12:28:00:473 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DCE70, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 384
12:28:00:504 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DD008, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 40
12:28:00:520 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DD738, .\DisplayImaging\iType\product\source\common\fs_api.c:1819, size 16
12:28:00:551 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DFC00, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 358
12:28:00:582 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53DFD80, .\DisplayImaging\iType\product\source\common\fs_xmalloc.c:364, size 68
12:28:00:598 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53E3A10, .\DisplayImaging\wtle\product\source\base\tsmem.c:39, size 360
12:28:00:629 AEEModule.c:266 - Warning -- memory leak, freeing, 0x53E3B90, .\DisplayImaging\wtle\product\source\base\tsmem.c:39, size 34

please can any one solve this issue....

Thanks in advance

Be sure to release all the IFont's created from the BTFE Typeface. Also be sure to restore the IDisplay font to it's original font.
have you tried litefont.com? It works great with the pre-installed qscans font via the ITypeface_NewFontFromClassID method.
Thanks
Dan
softllc.com

Be sure to release all the IFont's created from the BTFE Typeface. Also be sure to restore the IDisplay font to it's original font.
have you tried litefont.com? It works great with the pre-installed qscans font via the ITypeface_NewFontFromClassID method.
Thanks
Dan
softllc.com

Hi Thanks for the reply
can u ple say me the function to release the font....
i have used RELEASEIF but complier is giving error

Hi Thanks for the reply
can u ple say me the function to release the font....
i have used RELEASEIF but complier is giving error

What's the error? You should be able to RELEASEIF on anything
created with CreatInstance - are you sure the pointer is
referenced correctly?

What's the error? You should be able to RELEASEIF on anything
created with CreatInstance - are you sure the pointer is
referenced correctly?