mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 21:51:07 +00:00
Add missing cleanup on windows if outdated HIP version is detected
This commit is contained in:
parent
733f9c2d77
commit
756c29ec57
@ -7105,6 +7105,8 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
backend_ctx->hip = NULL;
|
backend_ctx->hip = NULL;
|
||||||
backend_ctx->hiprtc = NULL;
|
backend_ctx->hiprtc = NULL;
|
||||||
|
|
||||||
|
backend_ctx->hip = NULL;
|
||||||
|
|
||||||
// if we call this, opencl stops working?! so we just zero the pointer
|
// if we call this, opencl stops working?! so we just zero the pointer
|
||||||
// this causes a memleak and an open filehandle but what can we do?
|
// this causes a memleak and an open filehandle but what can we do?
|
||||||
// hip_close (hashcat_ctx);
|
// hip_close (hashcat_ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user