diff --git a/cv1/program.c b/cv1/program.c index 8e3fa97..914a534 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -18,7 +18,7 @@ bool check(char* s2, char *pz) } } bool rez=strstr(s, pz)!=NULL; - free(s2); + free(s); return rez; }