aboutsummaryrefslogtreecommitdiff
path: root/src/ini.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-26 10:03:34 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-26 10:03:34 -0500
commit924c8e9ae1bf1780447180ae717467d1beefc8fa (patch)
tree1601eb673dbdfb30e910f06087b3418b4ee46286 /src/ini.c
parentfc187bccb5856b2d6dd3816fc69ffe0001aa615d (diff)
downloadstasis-924c8e9ae1bf1780447180ae717467d1beefc8fa.tar.gz
Fixes several memory leaks
Diffstat (limited to 'src/ini.c')
-rw-r--r--src/ini.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ini.c b/src/ini.c
index cca302e..53d6c6d 100644
--- a/src/ini.c
+++ b/src/ini.c
@@ -323,7 +323,6 @@ struct INIFILE *ini_open(const char *filename) {
// no data, skip
if (!reading_value && isempty(line)) {
guard_free(value)
- value = NULL;
continue;
}