[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/libkdenetwork/gpgmepp
From: Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date: 2004-04-02 20:54:49
Message-ID: 20040402205449.BA5BE99BF () office ! kde ! org
[Download RAW message or body]
CVS commit by mutz:
Plug some minor cut'n'pasted memleaks
M +1 -1 decryptionresult.cpp 1.3
M +1 -1 encryptionresult.cpp 1.3
M +1 -1 importresult.cpp 1.3
M +1 -1 keygenerationresult.cpp 1.3
M +1 -1 keylistresult.cpp 1.3
M +1 -1 signingresult.cpp 1.3
M +1 -1 verificationresult.cpp 1.3
--- kdepim/libkdenetwork/gpgmepp/decryptionresult.cpp #1.2:1.3
@@ -71,5 +71,5 @@ const GpgME::DecryptionResult & GpgME::D
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
return *this;
--- kdepim/libkdenetwork/gpgmepp/encryptionresult.cpp #1.2:1.3
@@ -79,5 +79,5 @@ const GpgME::EncryptionResult & GpgME::E
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
this->d = other.d;
--- kdepim/libkdenetwork/gpgmepp/importresult.cpp #1.2:1.3
@@ -83,5 +83,5 @@ const GpgME::ImportResult & GpgME::Impor
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
this->d = other.d;
--- kdepim/libkdenetwork/gpgmepp/keygenerationresult.cpp #1.2:1.3
@@ -71,5 +71,5 @@ const GpgME::KeyGenerationResult & GpgME
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
return *this;
--- kdepim/libkdenetwork/gpgmepp/keylistresult.cpp #1.2:1.3
@@ -62,5 +62,5 @@ const GpgME::KeyListResult & GpgME::KeyL
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
return *this;
--- kdepim/libkdenetwork/gpgmepp/signingresult.cpp #1.2:1.3
@@ -91,5 +91,5 @@ const GpgME::SigningResult & GpgME::Sign
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
this->d = other.d;
--- kdepim/libkdenetwork/gpgmepp/verificationresult.cpp #1.2:1.3
@@ -110,5 +110,5 @@ const GpgME::VerificationResult & GpgME:
other.d->ref();
if ( this->d )
- this->d->ref();
+ this->d->unref();
this->d = other.d;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic