Home › Forums › Discussions › General › BSOD in afd!AfdBReceiveEventHandler › Reply To: BSOD in afd!AfdBReceiveEventHandler
October 3, 2007 at 4:46 am
#6454
Hello,
after some more kernel debugging and research, I found out that IRP_MJ_CLOSE is a better place to delete all resources allocated for a PFILE_OBJECT than IRP_MJ_CLEANUP. I was deleting all resources allocated for a PFILE_OBJECT on IRP_MJ_CLEANUP, as inspired from tdi_fw sample. Can someone tell me his opinion on this?