Убрал утечку памяти

This commit is contained in:
AZEN-SGG 2024-11-27 19:02:11 +03:00
parent 673d0e250d
commit c6539e2868
4 changed files with 47 additions and 8 deletions

View file

@ -64,6 +64,7 @@ void randomArray(void) {
sort(array, length);
printf("\n");
printArray(array, length);
free(array);
} else {
printf("Length not entered!\n");
}