It _probably_ works to just pass free(ptr) another two arguments, but compilers don't like this kind of sloppiness anymore. The call site only expects this function to free the first value, ignoring the other two, so model that in the local wrapper function. |
||
|---|---|---|
| cde | ||