- libinfo_data->ikey = (unsigned int *)reallocf(libinfo_data->ikey, n * sizeof(unsigned int));
- libinfo_data->idata = (void **)reallocf(libinfo_data->idata, n * sizeof(void *));
- libinfo_data->idata_destructor = (void (**)(void *))reallocf(libinfo_data->idata_destructor, n * sizeof(void (*)(void *)));
- }
-
- if ((libinfo_data->ikey == NULL) || (libinfo_data->idata == NULL) || (libinfo_data->idata_destructor == NULL))
- {
- if (libinfo_data->ikey != NULL) free(libinfo_data->ikey);
- if (libinfo_data->idata != NULL) free(libinfo_data->idata);
- if (libinfo_data->idata_destructor != NULL) free(libinfo_data->idata_destructor);
- return NULL;
+ libinfo_data->ikey = (unsigned int *)realloc(libinfo_data->ikey, n * sizeof(unsigned int));
+ libinfo_data->idata = (void **)realloc(libinfo_data->idata, n * sizeof(void *));
+ libinfo_data->idata_destructor = (void (**)(void *))realloc(libinfo_data->idata_destructor, n * sizeof(void (*)(void *)));