submition3

This commit is contained in:
kr820js 2024-03-23 18:36:27 +01:00
parent 0fa7d5d8f7
commit 715ea2777a

View File

@ -24,7 +24,10 @@ int main()
}else{ }else{
printf("CHYBA\n"); printf("CHYBA\n");
} }
free(next_link->p_na_line);
link* ptr=next_link;
next_link=next_link->p_na_next_struct; next_link=next_link->p_na_next_struct;
free(ptr);
} }
return 0; return 0;
} }