diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:15:48 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:15:48 +0100 |
commit | 55031e72e6c02b4ae63e9052bad1a4b40002ac18 (patch) | |
tree | cedb261f63df285e392051805d7e06641c74a4d5 /src/plugins/lan/lan.c | |
parent | b32d92e890caac903491116e9d817aa780c0323b (diff) |
Imported Upstream version 1.8.15upstream/1.8.15
Diffstat (limited to 'src/plugins/lan/lan.c')
-rw-r--r-- | src/plugins/lan/lan.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/lan/lan.c b/src/plugins/lan/lan.c index fb1a633..dd90706 100644 --- a/src/plugins/lan/lan.c +++ b/src/plugins/lan/lan.c @@ -2005,12 +2005,7 @@ ipmi_lan_close(struct ipmi_intf * intf) close(intf->fd); ipmi_req_clear_entries(); - - if (intf->session != NULL) { - free(intf->session); - intf->session = NULL; - } - + ipmi_intf_session_cleanup(intf); intf->opened = 0; intf->manufacturer_id = IPMI_OEM_UNKNOWN; intf = NULL; |