MCPcopy Index your code
hub / github.com/git/git / comment_char_config_release

Function comment_char_config_release

config.c:2024–2030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2022 }
2023
2024static void comment_char_config_release(struct comment_char_config *config)
2025{
2026 strintmap_clear(&config->key_flags);
2027 for (size_t i = 0; i < config->nr; i++)
2028 free(config->item[i].path);
2029 free(config->item);
2030}
2031
2032/* Used to track whether the key occurs more than once in a given file */
2033#define KEY_SEEN_ONCE 1u

Callers 1

repo_config_releaseFunction · 0.85

Calls 1

strintmap_clearFunction · 0.85

Tested by

no test coverage detected