rem: int i; int size=MAXWORDLEN; char* buf=(char*)malloc(size);
add: size=MAXWORDLEN; buf=(char*)malloc(size);
context: int findEntry( char** extEntry, int sizeOfEntry){	int match=0;   char *entry[sizeOfEntry];   file=fopen("dictionary","r");	if(file==NULL){      //LOG(L_ERR,"ERROR:no dictionary found!\n");      return 0;   }   while(!match && findWord(extEntry[0])){      int i;      int size=MAXWORDLEN;      char* buf=(char*)malloc(size);      for(i=1; i < sizeOfEntry; i++){         size=MAXWORDLEN;         if((size=readWord(buf,size))){            if(extEntry[i]==NULL){               entry[i]=(char*)malloc(size+1);               strcpy(entry[i],buf);               match=1;               //printf("%s\n",buf);            }            else            	if(strcmp(extEntry[i],buf)){                  match=0;                  break;               }               else{               	entry[i]=(char*)malloc(size+1);               	strcpy(entry[i],buf);                	//printf("%s\n",buf);					}    			}      }		free(buf);   }   fclose(file);   if(match==1){		int i;   	for(i=0;i<sizeOfEntry;i++)			if(extEntry[i]==NULL){				extEntry[i]=(char*)malloc(strlen(entry[i])+1);				strcpy(extEntry[i],entry[i]);			}	}   return match;}