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

From Linuxnetworks
< OpenDBX‎ | API
Jump to: navigation, search
(see also)
(header)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
  void odbx_result_free(
+
'''#include <odbx.h>'''
     odbx_result_t* result )
+
 +
  void '''odbx_result_free'''(
 +
     odbx_result_t* '''result''' )
  
 
= Description: =
 
= Description: =

Revision as of 00:23, 15 February 2007


#include <odbx.h>

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:

Return values:

  • None

Errors:

  • None

See also:


Back to Overview