firebird/firebird-3.0.1.32609-gcc-6.2.0.patch

13 lines
311 B
Diff
Raw Permalink Normal View History

--- Firebird-3.0.1.32609-0/src/common/classes/init.h.orig 2016-10-07 00:30:20.110681159 +0200
+++ Firebird-3.0.1.32609-0/src/common/classes/init.h 2016-10-07 00:27:47.820536592 +0200
@@ -121,7 +121,8 @@
public:
void dtor()
{
- delete instance;
+ if (instance)
+ delete instance;
instance = 0;
}