diff options
| author | Ted Ross <tross@apache.org> | 2009-11-03 21:08:58 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-11-03 21:08:58 +0000 |
| commit | b6c399944995c33ac199bec28f81a43c0bb52eaa (patch) | |
| tree | a92b0c45ba410ce8f8007d90887c92ae0804cf1d /qpid/cpp/src/qmf/engine | |
| parent | c93344c7da74411457a5eddd8cd2b4bf9e28a2d9 (diff) | |
| download | qpid-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.h | 2 |
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; |
