summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.dunfey <a.dunfey>2006-04-13 22:21:12 +0000
committera.dunfey <a.dunfey>2006-04-13 22:21:12 +0000
commita4564b18f8d9ef2160f04c8cb671a6bbf49bc5a2 (patch)
tree80a91a533bfd8b19a0432647da1834d338c3d84e
parent869cbd3c18b962db76c205c5352f9b624334ac52 (diff)
downloadtog-pegasus-PEP233_EmbeddedInstSupport-branch.zip
tog-pegasus-PEP233_EmbeddedInstSupport-branch.tar.gz
tog-pegasus-PEP233_EmbeddedInstSupport-branch.tar.xz
TITLE: Update EmbeddedInstance branch with fixes for CMPI DESCRIPTION: Fix segmentation fault on Linux for EnumerateInstances operation
-rw-r--r--src/Pegasus/Common/OperationContextInternal.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Pegasus/Common/OperationContextInternal.cpp b/src/Pegasus/Common/OperationContextInternal.cpp
index b593ada..b0177f2 100644
--- a/src/Pegasus/Common/OperationContextInternal.cpp
+++ b/src/Pegasus/Common/OperationContextInternal.cpp
@@ -271,16 +271,15 @@ NormalizerContextContainer::~NormalizerContextContainer()
{
}
-NormalizerContextContainer & NormalizerContextContainer::operator=(const NormalizerContextContainer & container)
+NormalizerContextContainer & NormalizerContextContainer::operator=(
+ const NormalizerContextContainer & container)
{
if(this == &container)
{
return(*this);
}
- AutoPtr<NormalizerContext> tmpContext(
- container.normalizerContext->clone());
- normalizerContext = tmpContext;
+ normalizerContext.reset(container.normalizerContext->clone().release());
return(*this);
}