Commit e15afc8e by Carlos Martín Nieto

cvar_free: also free the config var's name

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
parent 6d7bb4e0
......@@ -42,6 +42,7 @@ static void cvar_free(git_cvar *var)
if(var->type == GIT_VAR_STR)
free(var->value.string);
free(var->name);
free(var);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment