Hi
I have a problem with Remedy C API function "FreeARQualifierStruct". I need to load qualifier structure manually, see follow: ARQualifierStruct qualifier; memset((char *) &qualifier, '\0', sizeof(ARQualifierStruct)); qualifier.operation = AR_COND_OP_REL_OP; qualifier.u.relOp = (ARRelOpStruct *) malloc(sizeof(ARRelOpStruct)); qualifier.u.relOp->operation = (unsigned int) AR_REL_OP_EQUAL; qualifier.u.relOp->operandLeft.tag = (unsigned int) AR_FIELD; qualifier.u.relOp->operandLeft.u.fieldId = (ARInternalId) 7; qualifier.u.relOp->operandRight.tag = (unsigned int) AR_VALUE; qualifier.u.relOp->operandRight.u.value.dataType = AR_DATA_TYPE_INTEGER; qualifier.u.relOp->operandRight.u.value.u.intVal = (ARLong32) 1; If execute "FreeARQualifierStruct(&qualifier, FALSE);" I get the follow error: It's mean I have a problem with feeing allocated memory, but when I load qualifier with "ARLoadARQualifierStruct" I get the same qualifier that was defined above (I check it in debugger), and "FreeARQualifierStruct" exicute without errors. I don't understand this situation. What I do wrong? Sorry for my bad english _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"
<<image002.jpg>>