bug in create entry
Brought to you by:
jeffmurphy
|
From: Joel M. <jm...@ca...> - 1996-02-23 00:51:38
|
I've fixed a bug in CreateEntry that called free twice on a structure.
here's the diff.
*** 1.1 1996/02/21 20:17:26
--- ARS.xs 1996/02/22 21:36:46
***************
*** 1350,1361 ****
}
}
ret = ARCreateEntry(ctrl, schema, &fieldList, entryId, &status);
- FreeARFieldValueList(&fieldList,FALSE);
if (! ARError(ret, status)) {
RETVAL = entryId;
}
create_entry_end:;
! free(fieldList.fieldValueList);
}
}
OUTPUT:
--- 1350,1360 ----
}
}
ret = ARCreateEntry(ctrl, schema, &fieldList, entryId, &status);
if (! ARError(ret, status)) {
RETVAL = entryId;
}
create_entry_end:;
! FreeARFieldValueList(&fieldList,FALSE);
}
}
OUTPUT:
|