diff --git a/src/modules/bank.c b/src/modules/bank.c index 04f03b283ce10a3ec9cf4d621a1563d2111f24ae..dd4c38f0e158395c332c9d10f5815284abecf84f 100644 --- a/src/modules/bank.c +++ b/src/modules/bank.c @@ -844,6 +844,8 @@ module_t **module_list_get (size_t *n) size_t module_list_cap(module_t *const **restrict list, const char *name) { + assert(name != NULL); + const void **cp = tfind(&name, &modules.caps_tree, vlc_modcap_cmp); if (cp == NULL) {