diff options
Diffstat (limited to 'usr/iscsistart.c')
-rw-r--r-- | usr/iscsistart.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/iscsistart.c b/usr/iscsistart.c index ee810f7..73991b3 100644 --- a/usr/iscsistart.c +++ b/usr/iscsistart.c @@ -347,6 +347,7 @@ int main(int argc, char *argv[]) struct boot_context *context, boot_context; struct sigaction sa_old; struct sigaction sa_new; + struct user_param *param; int control_fd, mgmt_ipc_fd, err; pid_t pid; @@ -541,6 +542,10 @@ int main(int argc, char *argv[]) mgmt_ipc_close(mgmt_ipc_fd); free_initiator(); sysfs_cleanup(); + list_for_each_entry(param, &user_params, list) { + list_del(¶m->list); + idbm_free_user_param(param); + } log_debug(1, "iscsi child done"); return 0; |