save works
This commit is contained in:
parent
47fc32b02c
commit
43dc12a36c
19 changed files with 80 additions and 72 deletions
|
|
@ -8,10 +8,10 @@
|
|||
#include "jobj.h"
|
||||
#include "kv.h"
|
||||
#include "mylock.h"
|
||||
#include "preason.h"
|
||||
#include "utils.h"
|
||||
#include "xce/types.h"
|
||||
#include "xstring.h"
|
||||
#include "preason.h"
|
||||
|
||||
static struct {
|
||||
mylock_t lock;
|
||||
|
|
@ -588,11 +588,11 @@ static void job_destroy(meta_obj_t* obj)
|
|||
if (j->job.run_usage != NULL) {
|
||||
int i;
|
||||
|
||||
for(i = 0; i < j->job.run_usage->num_hosts; i ++) {
|
||||
for (i = 0; i < j->job.run_usage->num_hosts; i++) {
|
||||
if (j->job.run_usage->host_runusage[i] != NULL) {
|
||||
FREEUP(j->job.run_usage->host_runusage[i]->host_name);
|
||||
}
|
||||
|
||||
|
||||
FREEUP(j->job.run_usage->host_runusage[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue