diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-29 16:07:20 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-29 16:07:20 +0530 |
| commit | b5a1e2d22e4edf85d175a962387623e5cfa9c7d0 (patch) | |
| tree | f912d062f5fbe90a64276a4e54eb7746ab72d618 /src | |
| parent | a137054cb54d5458149ff993b657b533bf3d7dd1 (diff) | |
config: free(list_t *)->list_delete()
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 54a1cd0..4576bfd 100644 --- a/src/config.c +++ b/src/config.c @@ -47,7 +47,7 @@ config_parse(char *content) list_add(array_values, l); list_add(values, wrap_ptr(strdup(value))); - free(l); + list_delete(l); } key = trim(strsep(&buffer, DELIM)); |
