X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fconf-parser.c;h=158e9efd4cecb260bb15426379fa468e9c8dfe7b;hb=a1948c7bfeb87b54bc7715a44490c01593ee6e23;hp=77a172e9f1dffbdbd5ccf7a8802a49a3e2930c9d;hpb=9f43a07f10639c5b41b45448e551e43914eefe32;p=elogind.git diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 77a172e9f..158e9efd4 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -688,7 +688,7 @@ int config_parse_strv(const char *unit, FOREACH_WORD_QUOTED(w, l, rvalue, state) { char *n; - n = cunescape_length(w, l); + n = strndup(w, l); if (!n) return log_oom();