From db68df692eca1d579d299f762293f691e6e17af4 Mon Sep 17 00:00:00 2001 From: Yurii Yakovenko Date: Mon, 30 Sep 2024 20:25:34 +0000 Subject: [PATCH] Update cv1/program.c --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }