Wednesday, January 11, 2012

OCIDescribeAny Can Allocate Memory

The doc is silent on the matter, but my testing shows pretty clearly that OCIDescribeAny is allocating memory and attaching it to the OCIDescribe in/out param.

So never reuse OCIDescribe structures when making multiple calls to OCIDescribeAny; do OCIHandleAlloc/OCIHandleFree calls for each iteration.

0 comments: