On Fri, 2011-07-22 at 16:16 +0200, Jacek Caban wrote:
The caller is responsible for freeing the result, so it will destroy your internal data. I think you should create an array here and not use it to store the data internally.
How do you know that the caller is responsible for freeing this property? It seems wasteful to duplicate this potentially large buffer.