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

Function tmp_objdir_free

tmp-objdir.c:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static struct tmp_objdir *the_tmp_objdir;
32
33static void tmp_objdir_free(struct tmp_objdir *t)
34{
35 strbuf_release(&t->path);
36 strvec_clear(&t->env);
37 free(t);
38}
39
40static void tmp_objdir_reparent(const char *name UNUSED,
41 const char *old_cwd,

Callers 2

tmp_objdir_destroyFunction · 0.85
tmp_objdir_createFunction · 0.85

Calls 2

strbuf_releaseFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected