diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-29 16:50:34 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-29 17:12:21 +0530 |
commit | 3b4bcede398591bc2fdb9836e5e21a7f1913191d (patch) | |
tree | eea33b17dbe32a339f17caf9dc8e6d0dafafad25 /src/jobs.c | |
parent | c5adc83694838ecd0a042263949a9d5e950f5878 (diff) |
c: clean up
Diffstat (limited to 'src/jobs.c')
-rw-r--r-- | src/jobs.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |