save works
This commit is contained in:
parent
3f74f14687
commit
47fc32b02c
6 changed files with 155 additions and 25 deletions
|
|
@ -68,20 +68,33 @@ static void queue_destroy(meta_obj_t* obj)
|
|||
dereference(q->queue.queue);
|
||||
dereference(q->queue.resreq);
|
||||
|
||||
/* FIXME: */
|
||||
if (q->queue.users != NULL) { }
|
||||
if (q->queue.users != NULL) {
|
||||
free_GroupConfig_ptr(&(q->queue.users));
|
||||
}
|
||||
|
||||
if (q->queue.hosts != NULL) { }
|
||||
if (q->queue.hosts != NULL) {
|
||||
free_GroupConfig_ptr(&(q->queue.hosts));
|
||||
}
|
||||
|
||||
if (q->queue.thresholds != NULL) { }
|
||||
if (q->queue.thresholds != NULL) {
|
||||
free_Threshold_list(q->queue.nthresholds, q->queue.thresholds);
|
||||
}
|
||||
|
||||
if (q->queue.runwindow != NULL) { }
|
||||
if (q->queue.runwindow != NULL) {
|
||||
/* FIXME: */
|
||||
}
|
||||
|
||||
if (q->queue.dispatchwindow != NULL) { }
|
||||
if (q->queue.dispatchwindow != NULL) {
|
||||
/* FIXME: */
|
||||
}
|
||||
|
||||
if (q->queue.runwindow_config != NULL) { }
|
||||
if (q->queue.runwindow_config != NULL) {
|
||||
free_TimeWindow_ptr(&(q->queue.runwindow_config));
|
||||
}
|
||||
|
||||
if (q->queue.dispatchwindow_config != NULL) { }
|
||||
if (q->queue.dispatchwindow_config != NULL) {
|
||||
free_TimeWindow_ptr(&(q->queue.dispatchwindow_config));
|
||||
}
|
||||
|
||||
dereference(q->queue.pre_exec);
|
||||
dereference(q->queue.post_exec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue