author | ulf69 <ulf69> | 2004-08-20 01:16:22 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-20 01:16:22 (UTC) |
commit | f7a401f03c18ef96eb40dc5540b31cd10880e845 (patch) (unidiff) | |
tree | f028d7dd67e34d00d44bd9af27b6e2c3dcd93cef /kabc/vcardformatimpl.cpp | |
parent | d39b363278224b969d4c2945d32968c980b5d842 (diff) | |
download | kdepimpi-f7a401f03c18ef96eb40dc5540b31cd10880e845.zip kdepimpi-f7a401f03c18ef96eb40dc5540b31cd10880e845.tar.gz kdepimpi-f7a401f03c18ef96eb40dc5540b31cd10880e845.tar.bz2 |
bugfix: fixed a memoryleak in vCards while saving contacts
-rw-r--r-- | kabc/vcardformatimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/vcardformatimpl.cpp b/kabc/vcardformatimpl.cpp index bd9a57b..bffaa64 100644 --- a/kabc/vcardformatimpl.cpp +++ b/kabc/vcardformatimpl.cpp | |||
@@ -283,8 +283,8 @@ bool VCardFormatImpl::loadAddressee( Addressee& addressee, VCard *v ) | |||
283 | 283 | ||
284 | void VCardFormatImpl::saveAddressee( const Addressee &addressee, VCard *v, bool intern ) | 284 | void VCardFormatImpl::saveAddressee( const Addressee &addressee, VCard *v, bool intern ) |
285 | { | 285 | { |
286 | ContentLine cl; | 286 | //US ContentLine cl; |
287 | QString value; | 287 | //US QString value; |
288 | 288 | ||
289 | addTextValue( v, EntityName, addressee.name() ); | 289 | addTextValue( v, EntityName, addressee.name() ); |
290 | addTextValue( v, EntityUID, addressee.uid() ); | 290 | addTextValue( v, EntityUID, addressee.uid() ); |