mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-23 10:53:40 +08:00
0c2bd66e6b
An error during array_realloc is always ignored if the idea was to save memory by trimming an array. Move two occurrences of same code into a single function for easier reviewing. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Link: https://github.com/kmod-project/kmod/pull/68 Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
array.c | ||
array.h | ||
hash.c | ||
hash.h | ||
macro.h | ||
missing.h | ||
scratchbuf.c | ||
scratchbuf.h | ||
strbuf.c | ||
strbuf.h | ||
util.c | ||
util.h |