13 lines
335 B
Diff
13 lines
335 B
Diff
--- 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;
|
|
}
|
|
}
|