Skip to content
Permalink
Browse files

use after free was making me sad

  • Loading branch information
adamdruppe committed Oct 19, 2019
1 parent 944beab commit 1cde7ce3e8ea2cbaeadf4525b42c6dba04833b5e
Showing with 1 addition and 0 deletions.
  1. +1 −0 Dscanner/libdparse/src/dparse/lexer.d
@@ -2016,6 +2016,7 @@ public pure nothrow @nogc:
buckets = (cast(Node**) calloc((Node*).sizeof, bucketCount))[0 .. bucketCount];
}

version(none)
~this()
{
Block* current = rootBlock;

0 comments on commit 1cde7ce

Please sign in to comment.
You can’t perform that action at this time.