summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2004-10-03 20:13:31 +0000
committerbala <balanatarajan@users.noreply.github.com>2004-10-03 20:13:31 +0000
commit15377d9c169056e2ea8a7b80448ad5467a876083 (patch)
tree7ea5281d22e0af5a620a6c9c7c4ce7d8971a81ef /ASNMP
parent17b4bf8dd3b5e1474f6f57bfb9edd15fe7af7887 (diff)
downloadATCD-15377d9c169056e2ea8a7b80448ad5467a876083.tar.gz
ChangeLogTag:Sun Oct 3 20:12:43 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/ChangeLog6
-rw-r--r--ASNMP/asnmp/oid.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog
index 45e97faf2f5..62cce551c9c 100644
--- a/ASNMP/ChangeLog
+++ b/ASNMP/ChangeLog
@@ -1,3 +1,9 @@
+Sun Oct 3 20:12:43 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * asnmp/oid.cpp:
+
+ Fixed a double deletion problem reported by Shlomi Yaakobovich.
+
Thu Sep 30 10:54:39 2004 Steve Huston <shuston@riverace.com>
* examples/get/get.cpp:
diff --git a/ASNMP/asnmp/oid.cpp b/ASNMP/asnmp/oid.cpp
index d5aa31b5d09..d632df361ed 100644
--- a/ASNMP/asnmp/oid.cpp
+++ b/ASNMP/asnmp/oid.cpp
@@ -249,8 +249,6 @@ Oid& Oid::operator+=( const char *a)
ACE_OS::strcat(ptr,a);
if ( smival.value.oid.len !=0) {
set_invalid();
- delete [] smival.value.oid.ptr;
- smival.value.oid.len = 0;
}
if (StrToOid( (char *) ptr, &smival.value.oid, byte_counter) < 0) {