static int reuc_isrch(const void *key, const void *array_member)
{
	const git_index_reuc_entry *reuc = array_member;

	return strcasecmp(key, reuc->path);
}

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.