diff options
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -56,3 +56,9 @@ void *job_create(const char *job_id, const JobDriver *driver, Error **errp) return job; } + +void job_delete(Job *job) +{ + g_free(job->id); + g_free(job); +} |