libflame  12600
Functions
FLA_Obj_free_check.c File Reference

(r12600)

Functions

FLA_Error FLA_Obj_free_check (FLA_Obj *obj)

Function Documentation

References FLA_Check_null_pointer().

Referenced by FLA_Obj_free().

{
  FLA_Error e_val;

  e_val = FLA_Check_null_pointer( obj );
  FLA_Check_error_code( e_val );

  // FLA_Free check base pointer; thus, this is not necessary.
  //e_val = FLA_Check_null_pointer( obj->base );
  //FLA_Check_error_code( e_val );

  return FLA_SUCCESS;
}