summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-02-29 15:23:11 +0000
committerRoy Marples <roy@marples.name>2016-02-29 15:23:11 +0000
commitac9da5fcf08be75c7aa3f69bc2f39a047082f852 (patch)
treefe461f0535ee2d34a0b73db9648fd36da6793ad5
parentc41dd02dfc45c925b15ca6d410cd6cb12fc611b5 (diff)
downloadparpd-ac9da5fcf08be75c7aa3f69bc2f39a047082f852.tar.xz
Fix compile.
-rw-r--r--parpd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parpd.c b/parpd.c
index 1c103f4..933064d 100644
--- a/parpd.c
+++ b/parpd.c
@@ -308,8 +308,7 @@ load_config(void)
/* OK, good to add now. */
pp = malloc(sizeof(*pp));
if (!pp) {
- syslog(LOG_ERR, "memory exhausted");
- eloop_exit(EXIT_FAILURE);
+ free_config();
return -1;
}
pp->action = act;