diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-01 00:08:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-01 00:17:21 +0200 |
commit | bcd8e6d1bd3f434af894faeb400fee0e99445a7f (patch) | |
tree | 1c0668d6b4e3bab3b2af0438525a62d318e2b37f /src/shared/strv.h | |
parent | 6c081276dc11722656906361ac78e415757865e3 (diff) |
local: fix memory leak when putting together locale settings
Also, we need to use proper strv_env_xyz() calls when putting together
the environment array, since otherwise settings won't be properly
overriden.
And let's get rid of strv_appendf(), is overkill and there was only one
user.
Diffstat (limited to 'src/shared/strv.h')
-rw-r--r-- | src/shared/strv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h index 4e80ea6d89..d1f2a0ef32 100644 --- a/src/shared/strv.h +++ b/src/shared/strv.h @@ -42,7 +42,6 @@ unsigned strv_length(char * const *l) _pure_; char **strv_merge(char **a, char **b); char **strv_merge_concat(char **a, char **b, const char *suffix); char **strv_append(char **l, const char *s); -char **strv_appendf(char **l, const char *format, ...) _printf_attr_(2, 3); int strv_extend(char ***l, const char *value); int strv_push(char ***l, char *value); |