save works
This commit is contained in:
parent
3f74f14687
commit
47fc32b02c
6 changed files with 155 additions and 25 deletions
|
|
@ -74,11 +74,16 @@ static void worker_destroy(meta_obj_t* obj)
|
|||
FREEUP(w->host.attrs);
|
||||
}
|
||||
|
||||
if (w->host.dispatch_window_config != NULL) { }
|
||||
if (w->host.dispatch_window_config != NULL) {
|
||||
free_timewindow_config(w->host.dispatch_window_config);
|
||||
w->host.dispatch_window_config = NULL;
|
||||
}
|
||||
|
||||
if (w->host.thresholds != NULL) { }
|
||||
|
||||
if (w->host.resvals_to_sched != NULL) { }
|
||||
if (w->host.thresholds != NULL) {
|
||||
free_resource_thresholds(w->host.thresholds, w->host.nthresholds);
|
||||
w->host.thresholds = NULL;
|
||||
w->host.nthresholds = 0;
|
||||
}
|
||||
|
||||
zarray_fini(&(w->host.resvals));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue