Comments fix: lttngerr.h -> error.h (./Changelog:754)
[lttng-tools.git] / tests / unit / test_utils_expand_path.c
index 65582ff805cee08ab8c1dedeb1bba48df966f54a..fe709acf554b81c9b32a13b41165b34cd97721e2 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <src/common/utils.h>
 
-/* For lttngerr.h */
+/* For error.h */
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose = 3;
 
@@ -141,6 +141,7 @@ int prepare_valid_results()
                valid_tests_expected_results[i] = malloc(PATH_MAX);
                if (valid_tests_expected_results[i] == NULL) {
                        printerr("malloc expected results");
+                       free(empty);
                        return 1;
                }
 
This page took 0.022953 seconds and 4 git commands to generate.