From 2884cb72f9708e556f2091ee23c4be3b07cedec6 Mon Sep 17 00:00:00 2001 From: Artyom Gavrilov Date: Wed, 5 Feb 2025 23:38:37 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=D0=BC=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.c b/src/args.c index d2c6bda..86c64d5 100644 --- a/src/args.c +++ b/src/args.c @@ -1246,9 +1246,9 @@ int init_section_config(struct section_config_t **section, struct section_config #else def_section = malloc(sizeof(struct section_config_t)); #endif - *def_section = (struct section_config_t)default_section_config; if (def_section == NULL) return -ENOMEM; + *def_section = (struct section_config_t)default_section_config; def_section->prev = prev;