mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 15:59:18 -04:00
- Import an upstream fix for OFListBase destructor crash, see git commitdiff link in PR. - Bump PORTREVISION PR: 200544 Submitted by: mp39590@gmail.com
13 lines
337 B
C++
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,
|