diff mbox series

[opensm,1/2] osm_subnet.c: subn_opt_destroy free per_module_logging_file

Message ID 20181129110750.5276-1-honli@redhat.com (mailing list archive)
State Not Applicable
Headers show
Series [opensm,1/2] osm_subnet.c: subn_opt_destroy free per_module_logging_file | expand

Commit Message

Honggang LI Nov. 29, 2018, 11:07 a.m. UTC
Signed-off-by: Honggang Li <honli@redhat.com>
---
 opensm/osm_subnet.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c
index 72043f48..f6a4a2c4 100644
--- a/opensm/osm_subnet.c
+++ b/opensm/osm_subnet.c
@@ -1118,6 +1118,7 @@  static void subn_opt_destroy(IN osm_subn_opt_t * p_opt)
 	free(p_opt->node_name_map_name);
 	free(p_opt->prefix_routes_file);
 	free(p_opt->log_prefix);
+	free(p_opt->per_module_logging_file);
 	subn_destroy_qos_options(&p_opt->qos_options);
 	subn_destroy_qos_options(&p_opt->qos_ca_options);
 	subn_destroy_qos_options(&p_opt->qos_sw0_options);