- Do no try to drop a NULL filedesc pointer.
This commit is contained in:
parent
5f9f795476
commit
fc10099a3d
@ -3224,7 +3224,8 @@ sysctl_kern_proc_filedesc(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
FILEDESC_SUNLOCK(fdp);
|
||||
fail:
|
||||
fddrop(fdp);
|
||||
if (fdp != NULL)
|
||||
fddrop(fdp);
|
||||
free(kif, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user