Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree-wide: introduce free_and_replace helper | Zbigniew Jędrzejewski-Szmek | 2016-10-17 | 1 | -0/+15 |
It's a common pattern, so add a helper for it. A macro is necessary because a function that takes a pointer to a pointer would be type specific, similarly to cleanup functions. Seems better to use a macro. |