Move `src/plugins/comp-logging.h` -> `src/logging/comp-logging.h`
[babeltrace.git] / src / plugins / ctf / common / metadata / decoder.c
index 6215403ca1041dfa5945a09e6d64a75815055e6d..a422ad433c4a2261cb7dc7626201bec6ebdd86e8 100644 (file)
@@ -15,7 +15,7 @@
 #define BT_COMP_LOG_SELF_COMP (mdec->config.self_comp)
 #define BT_LOG_OUTPUT_LEVEL (mdec->config.log_level)
 #define BT_LOG_TAG "PLUGIN/CTF/META/DECODER"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
 
 #include <stdio.h>
 #include <stdbool.h>
@@ -290,9 +290,7 @@ end:
                }
        }
 
-       if (buf) {
-               free(buf);
-       }
+       free(buf);
 
        return status;
 }
This page took 0.023805 seconds and 4 git commands to generate.