summaryrefslogtreecommitdiff
path: root/src/jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jobs.c')
-rw-r--r--src/jobs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jobs.c b/src/jobs.c
index 8f4efb1..8410522 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -1,9 +1,9 @@
#include <errno.h>
+#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <regex.h>
#include <cjson/cJSON.h>
#include <sqlite3.h>
@@ -552,7 +552,6 @@ int job_read(FILE *stream, struct job **job)
ret = JOB_READ_SUCCESS;
}
-
out_free:
cJSON_Delete(root);
if (ret != JOB_READ_SUCCESS)