StockItem.free

Frees a stock item allocated on the heap, such as one returned by StockItem.copy. Also frees the fields inside the stock item, if they are not NULL.

class StockItem
void
free
()