Fix ref-counting bug in EnumType copy ctor

Which was used by the new ShallowClone method and causes multiple enum
declarations/definitions to now crash.  Such code is not typically
seen in scripts, but being able to define an enum in both .bif and
.bro files has historically been supported.
This commit is contained in:
Jon Siwek 2019-07-15 12:36:21 -07:00
parent 50e4da74cf
commit db5b73cb8a
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1 @@
ONE