Thomas Haller <thaller@xxxxxxxxxx> wrote: > ifname_expr_alloc() calls `free(name)`, destroying the thing that is > pointed at. That's a modification. > > The code required to cast away the constness, which also indicates that > it is not actually const. It it. I hate that free() isn't const void *. I prefer to have const used as much as humanly possible.