This is my code:
void free_board(char** board,int size)
{
int i;
for(i = 0; i < size; i++)
{
free(board[i]);
}
free(board);
}
the for loop is just fine but when it gets to the free(board) line it gives me the following error:

I really have no idea what does it mean and will appreciate any help!!
Thank you all so much...

New Topic/Question
Reply



MultiQuote






|