summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf/engine
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
committerTed Ross <tross@apache.org>2009-11-03 21:08:58 +0000
commitb6c399944995c33ac199bec28f81a43c0bb52eaa (patch)
treea92b0c45ba410ce8f8007d90887c92ae0804cf1d /qpid/cpp/src/qmf/engine
parentc93344c7da74411457a5eddd8cd2b4bf9e28a2d9 (diff)
downloadqpid-python-b6c399944995c33ac199bec28f81a43c0bb52eaa.tar.gz
QMF fixes:
- Added immediate notification of agent deletion - Fixed some issues with memory management between the wrapped client and the ruby wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/engine')
-rw-r--r--qpid/cpp/src/qmf/engine/ObjectImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qmf/engine/ObjectImpl.h b/qpid/cpp/src/qmf/engine/ObjectImpl.h
index ddd20bfea2..6f25867004 100644
--- a/qpid/cpp/src/qmf/engine/ObjectImpl.h
+++ b/qpid/cpp/src/qmf/engine/ObjectImpl.h
@@ -56,7 +56,7 @@ namespace engine {
void destroy();
const ObjectId* getObjectId() const { return objectId.get(); }
- void setObjectId(ObjectId* oid) { objectId.reset(oid); }
+ void setObjectId(ObjectId* oid) { objectId.reset(new ObjectId(*oid)); }
const SchemaObjectClass* getClass() const { return objectClass; }
Value* getValue(const std::string& key) const;
void invokeMethod(const std::string& methodName, const Value* inArgs, void* context) const;