Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

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.



This post first appeared on All Geek, All The Time, please read the originial post: here

Share the post

OCIDescribeAny Can Allocate Memory

×

Subscribe to All Geek, All The Time

Get updates delivered right to your inbox!

Thank you for your subscription

×