Value *NewValue(ArgType type, CK_ULONG arraySize)
NewValue(ArgType type, CK_ULONG arraySize)
Value *NewValue(ArgType type, CK_ULONG arraySize){    Value *value;    value = (Value *)malloc(sizeof(Value));    if (!value) return NULL;    value->size = ArgSize(type)*arraySize;    value->type = type;    value->filename = NULL;    value->constType = ConstNone;    value->data = (void *)malloc(value->size);    if (!value->data) {	free(value);	return NULL;    }    value->reference = 1;    value->arraySize = arraySize;    memset(value->data, 0, value->size);    return value;}