config: free resources of `struct config_store_data`
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v11 patch 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | config: free resources of `struct config_store_data`config.c | +9 | 0 replies | |
| 2/3 | config: let `config_store_data_clear()` handle `value_regex`config.c | +6 | 0 replies | |
| 3/3 | config: let `config_store_data_clear()` handle `key`config.c | +3 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Eric Sunshine |
|---|---|
| 1/3 | |
| 2/3 | Researched-by |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] config: free resources of `struct config_store_data`
Quoted 7 lines · Eric Sunshine
Quoted 5 lines · Martin Ågren
How about the following two patches as patches 2/3 and 3/3? I would also need to mention in the commit message of this patch (1/3) that the function will soon learn to clean up more members.
Quoted 7 lines
Yep, making this a multi-part patch series and updating the commit message of the patch which introduces
config_store_data_clear(), as you suggest, makes sense. The patch series could be organized differently -- such as first moving freeing of 'value_regex' into newconfig_store_data_clear(), then freeing additional fields in later patches -- but I don't think it matters much in practice, so the current organization is likely good enough.
I tried such a re-ordering but wasn't entirely happy about the result (maybe I didn't try hard enough), so here are these patches again, as a proper series and with improved commit messages.
Martin
Martin Ågren (3):
config: free resources of struct config_store_data
config: let config_store_data_clear() handle value_regex
config: let config_store_data_clear() handle key
config.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-)
Signature · 1 line
2.17.0.840.g5d83f92caf