instance: exit in case asprintf() fails
authorDaniel Golle <daniel@makrotopia.org>
Fri, 18 Feb 2022 20:41:02 +0000 (20:41 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 18 Feb 2022 20:44:34 +0000 (20:44 +0000)
commitad652490d47916a27c01e3dd8f9eafcecbb4bc7f
treee1e4cf8634ac4ad8e70d96779f255c0389d5ebeb
parenta87d010d379330fc8bb92adeb7a9a8699d132c58
instance: exit in case asprintf() fails

If asprintf returns -1 we are most likely out of memory, so just exit
in that case.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
service/instance.c