opnsense-ports/devel/dcmtk/files/patch-ofstd_libsrc_oflist.cc
Franco Fichtner 00edf9058e */*: sync with upstream
Taken from: FreeBSD
2015-09-29 06:57:28 +02: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,