]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount.c
core: minor error handling fix in mount_setup_new_unit()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Jan 2017 00:45:58 +0000 (09:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 23 Jan 2017 04:59:21 +0000 (13:59 +0900)
commita51ee72d2eb40e9747418fa4de4d3a266ca0a4f5
treecc1649d4d890568c3788acd91820a0c4ff556985
parentb03ec0096037bddfe0ece2af9a6b14b61df02b34
core: minor error handling fix in mount_setup_new_unit()

The function mount_setup_new_unit() should return -ENOMEM
if at least one of `strdup` calls are failed.
src/core/mount.c