printf("Finished reading %s\n", file); freeMem(rf->line);
freeMem(rf->line);
void readRDFFile (char* file) {  FILE* f = fopen(file, "r");	  if (f) {    RDFT rf = (RDFT)getRDFT(file, 1) ;     int ok = 1;    char* buff  = (char*) malloc(100 * 1024);    int len ;    int i = 0;    memset(buff, '\0', (100 * 1024));    memset(rf, '\0', sizeof(RDF_FileStruct));    rf->line = (char*)getMem(RDF_BUF_SIZE);    rf->holdOver = (char*)getMem(RDF_BUF_SIZE);    rf->depth = 1;    rf->lastItem = rf->stack[0] ;    while ((len = fread(buff, 1, (100 * 1024) -1, f)) > 0) {      buff[len] = '\0';      printf("[%i] ", i++);      fflush(0);      if (!(ok = parseNextRDFXMLBlobInt(rf, buff, len))) {        printf("Error in RDF File\n");      }    }    printf("Finished reading %s\n", file); 	freeMem(rf->line);    rf->line = NULL;    freeMem(rf->holdOver);    rf->holdOver = NULL;    free(buff);  } else  printf("Could not find %s\n", file);    }