src/smem.c
/**
 * @brief De-allocate a sized memory
 *
 * @param mem The sized memory to deallocate
 */
@brief De-allocate a sized memory
@param mem The sized memory to deallocate
@brief De - allocate a sized memory @param mem The sized memory to deallocate
void smem_free(smem_t *mem) {
  assert(mem);
  free(mem->mem);
  mem->len = 0;
  mem->mem = NULL;
}
void smem_free ( smem_t * mem ) { assert ( mem ) ; free ( mem -> mem ) ; mem -> len = 0 ; mem -> mem = NULL ; }
@brief De-allocate a sized memory
 @param mem The sized memory to deallocate
@brief De - allocate a sized memory @param mem The sized memory to deallocate