libflame  revision_anchor
Functions
FLA_Obj_free_check.c File Reference

(r)

Functions

FLA_Error FLA_Obj_free_check (FLA_Obj *obj)
 

Function Documentation

◆ FLA_Obj_free_check()

FLA_Error FLA_Obj_free_check ( FLA_Obj obj)
14 {
15  FLA_Error e_val;
16 
17  e_val = FLA_Check_null_pointer( obj );
18  FLA_Check_error_code( e_val );
19 
20  // FLA_Free check base pointer; thus, this is not necessary.
21  //e_val = FLA_Check_null_pointer( obj->base );
22  //FLA_Check_error_code( e_val );
23 
24  return FLA_SUCCESS;
25 }
FLA_Error FLA_Check_null_pointer(void *ptr)
Definition: FLA_Check.c:518
int FLA_Error
Definition: FLA_type_defs.h:47

References FLA_Check_null_pointer().

Referenced by FLA_Obj_free().