1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-23 13:02:06 +00:00

Fix memory buffer double free

This commit is contained in:
jsteube 2019-03-04 11:34:56 +01:00
parent 1537fc4e5d
commit e7e16d00af

View File

@ -6860,6 +6860,11 @@ void opencl_session_destroy (hashcat_ctx_t *hashcat_ctx)
device_param->pws_base_buf = NULL; device_param->pws_base_buf = NULL;
device_param->combs_buf = NULL; device_param->combs_buf = NULL;
device_param->hooks_buf = NULL; device_param->hooks_buf = NULL;
device_param->scratch_buf = NULL;
#ifdef WITH_BRAIN
device_param->brain_link_in_buf = NULL;
device_param->brain_link_out_buf = NULL;
#endif
device_param->d_pws_buf = NULL; device_param->d_pws_buf = NULL;
device_param->d_pws_amp_buf = NULL; device_param->d_pws_amp_buf = NULL;