Github user NicoK commented on the issue:
https://github.com/apache/flink/pull/4591
@zentol unfortunately, when changing to using Netty's buffer counting, it
will check any form of illegal reference count usages, and a double-free is one
of them. Even without Netty, this pattern could result from an invalid use and
may be guarded the same way.---
