codice:for(i=0;i<(*num2);i++) { free(stack2[i].nome); free(stack2[i].cognome); } free(stack2);
codice:for(i=0;i<(*num2);i++) { free(stack2[i].nome); free(stack2[i].cognome); } free(stack2);
Fracty - The Fractal Generator
If you cannot choose a concise name that expresses what the method does, it is possible that your method is attempting to perform too many diverse tasks.