none
Driver Verifier complains memory leak for allocated memory assigned to localRedirectContext by wfp driver doing connection redirection RRS feed

  • Question

  • As per msdn for windows 8 onward , memory allocated for localRedirectContext will have ownership transferred to wfp and free it when the flow/redirection terminates.

    I am doing redirection at FWPM_LAYER_ALE_AUTH_CONNECT_REDIRECT_V4 , allocating memory for storing connection related info and assigning it to localRedirectContext. My driver is working without any issue.

    When I try to stop the driver with driver verifier ON, DV always complains about memory leak by my driver.

    how I can solve this problem! Any guidance will be helpful.

    Thanks,

    Tuesday, June 23, 2020 4:23 PM