Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344752
b: refs/heads/master
c: b07c28a
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Nicholas Bellinger committed Nov 28, 2012
1 parent d88d8d2 commit e594299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a41d85febdd3ab060bd8a074862280c4aea29d5
refs/heads/master: b07c28aab52edffb592429637fed846c48dca0a8
6 changes: 2 additions & 4 deletions trunk/drivers/target/iscsi/iscsi_target_login.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,8 @@ static int __iscsi_target_login_thread(struct iscsi_np *np)
idr_remove(&sess_idr, conn->sess->session_index);
spin_unlock_bh(&sess_idr_lock);
}
if (conn->sess->sess_ops)
kfree(conn->sess->sess_ops);
if (conn->sess)
kfree(conn->sess);
kfree(conn->sess->sess_ops);
kfree(conn->sess);
old_sess_out:
iscsi_stop_login_thread_timer(np);
/*
Expand Down

0 comments on commit e594299

Please sign in to comment.