val_clear(struct module_qstate* qstate, int id)
{
	if(!qstate)
		return;
	/* everything is allocated in the region, so assign NULL */
	qstate->minfo[id] = NULL;
}
val_clear(struct module_qstate* qstate, int id)
{
	if(!qstate)
		return;
	 
	qstate->minfo[id] = NULL;
}