fix cimprovagt core dump on free(0)
This commit is contained in:
parent
5aaef22661
commit
9bdbd98b4f
12
pegasus-2.5.1-AutoPtr-Core.patch
Normal file
12
pegasus-2.5.1-AutoPtr-Core.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- pegasus/src/Pegasus/Common/AutoPtr.h.AutoPtr-Core 2006-01-30 11:16:46.000000000 -0500
|
||||
+++ pegasus/src/Pegasus/Common/AutoPtr.h 2006-04-11 15:01:43.000000000 -0400
|
||||
@@ -200,7 +200,8 @@
|
||||
{
|
||||
if (p != _ptr)
|
||||
{
|
||||
- delete _ptr;
|
||||
+ if ( _ptr != 0 )
|
||||
+ delete _ptr;
|
||||
_ptr = p;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user