Move `src/plugins/comp-logging.h` -> `src/logging/comp-logging.h`
[babeltrace.git] / src / plugins / lttng-utils / debug-info / trace-ir-mapping.c
index ec074d5dc56a65c6cd831744eec98733d621efa6..67f7a2db937a7d2de97c383956d4da11724cd4f4 100644 (file)
@@ -28,7 +28,7 @@
 #define BT_COMP_LOG_SELF_COMP (ir_maps->self_comp)
 #define BT_LOG_OUTPUT_LEVEL (ir_maps->log_level)
 #define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO/TRACE-IR-MAPPING"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
 
 #include <stdbool.h>
 
@@ -617,9 +617,7 @@ void trace_ir_metadata_maps_destroy(struct trace_ir_metadata_maps *maps)
                g_hash_table_destroy(maps->clock_class_map);
        }
 
-       if (maps->fc_resolving_ctx) {
-               g_free(maps->fc_resolving_ctx);
-       }
+       g_free(maps->fc_resolving_ctx);
 
        if (maps->output_trace_class) {
                bt_trace_class_put_ref(maps->output_trace_class);
@@ -656,9 +654,7 @@ void trace_ir_maps_destroy(struct trace_ir_maps *maps)
                return;
        }
 
-       if (maps->debug_info_field_class_name) {
-               g_free(maps->debug_info_field_class_name);
-       }
+       g_free(maps->debug_info_field_class_name);
 
        if (maps->data_maps) {
                g_hash_table_destroy(maps->data_maps);
This page took 0.024167 seconds and 4 git commands to generate.