instance: Fix instance_config_move_strdup() function
authorDaniel Golle <daniel@makrotopia.org>
Sun, 19 Jan 2020 07:42:37 +0000 (09:42 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 19 Jan 2020 07:43:58 +0000 (09:43 +0200)
commit0a11aa405d3fbe970458d1cc154970e817826616
treee0d59297c780a5f6a87e835b354750e9e2907f1b
parent44dd9419812b6dc8fa164833fb274e33e5e284fa
instance: Fix instance_config_move_strdup() function

instance_config_move_strdup() previously returned too early in case of
a value being previously unassigned.

Fixes: 153820c ("instance: fix pidfile and seccomp attributes double free")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
service/instance.c