Skip to content

Set scratchpad pointer to null by default#127

Merged
tevador merged 1 commit intotevador:masterfrom
SChernykh:master
Sep 23, 2019
Merged

Set scratchpad pointer to null by default#127
tevador merged 1 commit intotevador:masterfrom
SChernykh:master

Conversation

@SChernykh
Copy link
Collaborator

No description provided.

@tevador
Copy link
Owner

tevador commented Sep 23, 2019

Good catch.

The problem is this delete:

RandomX/src/randomx.cpp

Lines 285 to 288 in 67010ab

catch (std::exception &ex) {
delete vm;
vm = nullptr;
}

@tevador tevador merged commit 32f396d into tevador:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants