Destruction of as_record


#1

As per API docs, ‘as_record_destroy’ should be called upon ‘as_record’ when it is no longer required. In my C++ program, I was thinking of adding a check(as_record==NULL), to check if it needs to be destroyed or not. Is this required or not?


#2

No. as_record_destroy() already checks for null.


#3

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.