util/compatfd.c: Fixed styling and replaced malloc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | util/compatfd.c: Fixed style issuesutil/ | +3 | 1 reply | |
| 2/2 | util/compatfd.c: Replaced a malloc call with g_malloc.util/ | +2 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] util/compatfd.c: Fixed styling and replaced malloc
In this small series, I fix two styling issues that were causing errors when the checkpatch.pl scritp was run against the file util/compatfd.c.
Also, I replace a call to malloc() and its respective call to free() with GLib's allocation and deallocation.
Used g_malloc() because the allocation is already small and its better if the system aborts on failure of such small allocations.
Mahmoud Mandour (2):
util/compatfd.c: Fixed style issues util/compatfd.c: Replaced a malloc call with g_malloc.
util/compatfd.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
Signature · 1 line
2.25.1