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(-) -- 2.25.1