X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=mon%2Fmons.c;fp=mon%2Fmons.c;h=1df11f2e06050c8b0fedc43c529edce18b03b8fe;hp=b47f30afb789988e873822dbe22d453e2c8c2986;hb=796245f8141fe7e1bc9f865e5a4f315b18b01d1b;hpb=d8e0e940cc61d44a18be4849523c4d3edf7db48e diff --git a/mon/mons.c b/mon/mons.c index b47f30a..1df11f2 100644 --- a/mon/mons.c +++ b/mon/mons.c @@ -146,6 +146,7 @@ static TR_GSS_RC mons_req_cb(TALLOC_CTX *mem_ctx, TR_MSG *req_msg, TR_MSG **resp if (resp == NULL) { /* error processing the request */ /* TODO send back an error */ + *resp_msg = NULL; /* null this out so the caller doesn't mistake it for valid */ goto cleanup; }