diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx index 433d49ecf..cae9ff102 100644 --- a/src/lib/nfs/Connection.cxx +++ b/src/lib/nfs/Connection.cxx @@ -380,6 +380,8 @@ NfsConnection::DeferClose(struct nfsfh *fh) assert(GetEventLoop().IsInside()); assert(in_event); assert(in_service); + assert(context != nullptr); + assert(fh != nullptr); deferred_close.push_front(fh); }