libubx/ubx.c
static void ubx_config_free_data(ubx_config_t *c)
{
	if (c->name)
		free((char *)c->name);
	if (c->doc)
		free((char *)c->doc);
	if (c->type_name)
		free((char *)c->type_name);
	if (c->value)
		ubx_data_free(c->value);
	memset(c, 0x0, sizeof(ubx_config_t));
}
/**
 * ubx_config_free_data - free a config's extra memory
 *
 * @param c config whose data to free
 */
free a config's extra memory
@param c config whose data to free
free a config ' s extra memory @param c config whose data to free
static void ubx_config_free_data(ubx_config_t *c)
{
	if (c->name)
		free((char *)c->name);
	if (c->doc)
		free((char *)c->doc);
	if (c->type_name)
		free((char *)c->type_name);
	if (c->value)
		ubx_data_free(c->value);
	memset(c, 0x0, sizeof(ubx_config_t));
}
static void ubx_config_free_data ( ubx_config_t * c ) { if ( c -> name ) free ( ( char * ) c -> name ) ; if ( c -> doc ) free ( ( char * ) c -> doc ) ; if ( c -> type_name ) free ( ( char * ) c -> type_name ) ; if ( c -> value ) ubx_data_free ( c -> value ) ; memset ( c , 0x0 , sizeof ( ubx_config_t ) ) ; }
ubx_config_free_data - free a config's extra memory
 @param c config whose data to free
ubx_config_free_data - free a config ' s extra memory @param c config whose data to free