diff options
author | Sam James <sam@gentoo.org> | 2022-03-29 08:00:26 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2022-05-08 14:56:26 -0500 |
commit | fbefd68b2d4daabfd3353dc9e6bb7d1d74e9bee9 (patch) | |
tree | 1c3d9f2dfdd0b97dfd88989ec5fcbe334c383a9f /src/librc/librc-misc.c | |
parent | 14835a22627388f2ae0f121ef5aa075c5e5706da (diff) |
librc: fix mismatched allocs
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'src/librc/librc-misc.c')
-rw-r--r-- | src/librc/librc-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index 6a3f3226..9dfbaec0 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -413,7 +413,7 @@ rc_conf_value(const char *setting) if (exists(RC_CONF_OLD)) { old = rc_config_load(RC_CONF_OLD); TAILQ_CONCAT(rc_conf, old, entries); - free(old); + rc_stringlist_free(old); } rc_conf = rc_config_directory(rc_conf); |