Difference between revisions of "OpenDBX/C API/odbx finish"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(Errors:)
(Description:)
Line 6: Line 6:
 
= Description: =
 
= Description: =
  
Frees all resources allocated by [[OpenDBX_init|odbx_init()]]
+
Frees all resources allocated by [[OpenDBX_init|odbx_init()]]. Be sure you invoked [[OpenDBX_unbind|odbx_unbind()]] before to avoid memory leaks.
  
 
= Parameters: =
 
= Parameters: =

Revision as of 19:21, 5 June 2006


int odbx_finish(
    odbx_t* handle ) 

Description:

Frees all resources allocated by odbx_init(). Be sure you invoked odbx_unbind() before to avoid memory leaks.

Parameters:

Return values:

  • ODBX_ERR_SUCCESS on success
  • Less than zero if an error occured

Errors:

  • -ODBX_ERR_PARAM: Parameter is NULL or the structure is invalid



Back to Overview