コード例 #1
0
ファイル: array.c プロジェクト: quixadhal/discworld
void free_array P1(array_t *, p)
{
    if (--(p->ref) > 0)
	return;

    dealloc_array(p);
}
コード例 #2
0
ファイル: helpers.c プロジェクト: toxicgumbo/MegaTunix
/*!
  \brief Cleans up a postfunction array (special case for offline without
  chained helper/post functions
  \param message is the pointer to the Io_Message structure
  */
G_MODULE_EXPORT void cleanup_pf(Io_Message *message)
{
	dealloc_array(message->command->post_functions,POST_FUNCTIONS);
	return;
}