Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3719
This issue is introduced by the commit
43d7e607.
Token->RspData.H2AData is de-allocated on error but it is not
set to NULL. HTTP module attempts to free again and cause assert.
Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
}\r
\r
FreePool (Dns4TokenEntry->Token->RspData.H2AData);\r
+ Dns4TokenEntry->Token->RspData.H2AData = NULL;\r
}\r
}\r
}\r
}\r
\r
FreePool (Dns6TokenEntry->Token->RspData.H2AData);\r
+ Dns6TokenEntry->Token->RspData.H2AData = NULL;\r
}\r
}\r
}\r