Hi all,

I have a doubt with the function hb_arrayNew 
When I create an array in C:

#pragma begindump
#include "hbapi.h"
#include "hbapiitm.h"

HB_FUNC (MyFunc)
{............
.............

pArray = hb_itemNew (NULL);
hb_arrayNew (pArray, size);

..............
...............
}


before the program ends I have necessarily to call:

hb_itemRelease (pArray);

to free the memory allocated? 
or HARBOUR releases automatically?

thanks in advance from Uruguay
Claudio Soto

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

Reply via email to