afs: clean afs_osi_Alloc() usage
[openafs.git] / src / afs / LINUX / osi_nfssrv.c
index 4c0553b..010f830 100644 (file)
@@ -224,6 +224,7 @@ void osi_linux_nfssrv_init(void)
        }
 
        afs_new_authtab[i] = afs_osi_Alloc(sizeof(struct auth_ops));
+       osi_Assert(afs_new_authtab[i] != NULL);
        *(afs_new_authtab[i]) = *(afs_orig_authtab[i]);
        afs_new_authtab[i]->owner = THIS_MODULE;
        afs_new_authtab[i]->accept = svcauth_afs_accept;