chiark / gitweb /
local: fix memory leak when putting together locale settings
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Sep 2013 22:08:30 +0000 (00:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Sep 2013 22:17:21 +0000 (00:17 +0200)
commitbcd8e6d1bd3f434af894faeb400fee0e99445a7f
tree1c0668d6b4e3bab3b2af0438525a62d318e2b37f
parent6c081276dc11722656906361ac78e415757865e3
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.
src/core/locale-setup.c
src/core/manager.c
src/shared/strv.c
src/shared/strv.h