Difference between revisions of "OpenDBX/API/odbx result free"

From Linuxnetworks
< OpenDBX‎ | API
Jump to: navigation, search
(Description:)
(Description:)
Line 6: Line 6:
 
= Description: =
 
= Description: =
  
Deletes all resources allocated by odbx_result(). You must not free "result" by yourself because this will create memory leaks but you have to call odbx_result_free() even if the statement returned no rows. This is indicated by a return value of "2" for not SELECT-like queries.
+
Deletes all resources allocated by [[OpenDBX_result|odbx_result()]]. You must not free() "result" by yourself because this will create memory leaks and you have to call odbx_result_free() even if the statement returned now rows. This is indicated by a return value of "2" for not SELECT-like queries.
  
 
= Parameters: =
 
= Parameters: =

Revision as of 17:56, 5 June 2006


void odbx_result_free(
    odbx_result_t* result )

Description:

Deletes all resources allocated by odbx_result(). You must not free() "result" by yourself because this will create memory leaks and you have to call odbx_result_free() even if the statement returned now rows. This is indicated by a return value of "2" for not SELECT-like queries.

Parameters:

  • result: Object created by odbx_result()

Return values:

  • None

Errors:

  • None



Back to Overview