Fix: Ressource leak, missing fclose
[lttng-tools.git] / src / common / config / config.c
index e3fe74ac284973b6912236dfec89be2904d4bca1..829a645bbb18820b2ad1237574a9fe229596b6cd 100644 (file)
@@ -238,6 +238,7 @@ int config_get_section_entries(const char *override_path, const char *section,
        ret = ini_parse_file(config_file,
                        (ini_entry_handler) config_entry_handler_filter, (void *) &filter);
 
+       fclose(config_file);
 end:
        return ret;
 }
This page took 0.023643 seconds and 4 git commands to generate.