summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-02-28 14:36:21 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-02-28 14:36:21 +0000
commite6e54c6deaeed94fec25ad706d6ff0e96796a74b (patch)
tree9c76d334795720bc0bda124fef481c3b8381a086 /cppu
parente026ffaf6619ea329e2a703d4be49da9b44d1740 (diff)
debug cases
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/destr.hxx7
-rw-r--r--cppu/source/uno/prim.hxx7
2 files changed, 6 insertions, 8 deletions
diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx
index 47e5be07b312..a6a27ab5d52b 100644
--- a/cppu/source/uno/destr.hxx
+++ b/cppu/source/uno/destr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: destr.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2000-12-21 14:39:29 $
+ * last change: $Author: dbo $ $Date: 2001-02-28 15:36:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -178,10 +178,11 @@ inline void __destructAny(
break;
}
::rtl_freeMemory( pAny->pData );
-#ifdef DEBUG
+#ifdef _DEBUG
pAny->pData = (void *)0xdeadbeef;
#endif
}
+
::typelib_typedescriptionreference_release( pType );
}
//--------------------------------------------------------------------------------------------------
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx
index 238d248f9d3f..e3be8ea991b6 100644
--- a/cppu/source/uno/prim.hxx
+++ b/cppu/source/uno/prim.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prim.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: dbo $ $Date: 2001-02-20 10:16:11 $
+ * last change: $Author: dbo $ $Date: 2001-02-28 15:36:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -151,9 +151,6 @@ inline void __releaseRef( void ** pRef, uno_ReleaseFunc release ) throw ()
else
(*((uno_Interface *)*pRef)->release)( (uno_Interface *)*pRef );
}
-#ifdef _DEBUG
- *pRef = (void *)0xdeaddead;
-#endif
}
//--------------------------------------------------------------------------------------------------