> The above log does not mean that QT_QUILOADER_LOAD() was called more then
> once. It only means that inside this function or some deeper functions
> called from it few memory blocks were allocated and never released.
> 
>> But the fm stats show otherwise - 14 for FindReplace dialog.
> 
> No it does not show anything like that. It only shows that more then one
> memory block was allocated by this function but you do not have any
> information about number of QT_QUILOADER_LOAD() calls.
> 
>> Also I am receiving in this log, all the objects created with new()
>> which are got freed ( I can visualize ) before RETURN is reached in main().
> 
> So sth bound with this object was not released. Maybe some of its components
> needs explicit release call. I can only guess.

This class deals with loading UI object descriptions from 
disk and creates them in memory by making one QT call. So 
it's almost unlikely that these objects are created using 
HBQT GC allocator functions, but rather raw C++ memory 
allocations calls.

BTW, I see such calls in many QT related calls in SVN:
      qObj:pPtr := 0
      qObj:pPtr := NIL

These can be optimized simply to:
      qObj:pPtr := NIL

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to