ports/devel/dcmtk/files/patch-ofstd_libsrc_oflist.cc
Thomas Zander f831c4b611 Fix crash in OFListBase destructor on CURRENT
- Import an upstream fix for OFListBase destructor crash, see
  git commitdiff link in PR.
- Bump PORTREVISION

PR:		200544
Submitted by:	mp39590@gmail.com
2015-09-28 14:31:10 +00:00

13 lines
337 B
C++

--- ofstd/libsrc/oflist.cc.orig 2015-05-30 20:13:25 UTC
+++ ofstd/libsrc/oflist.cc
@@ -50,8 +50,8 @@ OFListBase::OFListBase()
OFListBase::~OFListBase()
{
base_clear();
- if (afterLast)
- delete afterLast;
+ delete afterLast;
+ afterLast = NULL;
}
OFListLinkBase * OFListBase::base_insert(OFListLinkBase * pos,