X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fconf-parser.c;h=158e9efd4cecb260bb15426379fa468e9c8dfe7b;hp=77a172e9f1dffbdbd5ccf7a8802a49a3e2930c9d;hb=000f6e5667eb4f73e137cbd0d7395a9f9db7728a;hpb=49804365ea1242456c9763058a59cf68479e07ea;ds=sidebyside 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();