Move `src/plugins/comp-logging.h` -> `src/logging/comp-logging.h`
[babeltrace.git] / src / plugins / text / dmesg / dmesg.c
index 7243bbb5d777dfdb28c416118f0b9a37ae6df297..e8317d47a50bc5e3a29409f388e6b7f9e3230a1d 100644 (file)
@@ -24,7 +24,7 @@
 #define BT_COMP_LOG_SELF_COMP (dmesg_comp->self_comp)
 #define BT_LOG_OUTPUT_LEVEL (dmesg_comp->log_level)
 #define BT_LOG_TAG "PLUGIN/SRC.TEXT.DMESG"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
 
 #include <stdbool.h>
 #include <string.h>
@@ -296,9 +296,7 @@ error:
        ret = -1;
 
 end:
-       if (basename) {
-               g_free(basename);
-       }
+       g_free(basename);
 
        return ret;
 }
This page took 0.024474 seconds and 4 git commands to generate.