~registry/kmod/master

Viewing all changes in revision 1237.

  • Committer: Lucas De Marchi
  • Author(s): Yauheni Kaliuta
  • Date: 2021-06-09 17:21:15 UTC
  • Revision ID: git-v1:64541d6aad210879e104e4796beeef49d4311f6d
libkmod-module: check "new_from_name" return value in get_builtin

kmod_module_new_from_name() may fail and return error value. It is
handled properly across the code, but in this particular place the
check is missing.

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: