From: znek Date: Sat, 29 Jan 2005 15:20:48 +0000 (+0000) Subject: fixed autorelease bug in SaxObjectDecoder X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf59adf4d70333ad0d525ea946c86818b87f4bda;p=sope fixed autorelease bug in SaxObjectDecoder git-svn-id: http://svn.opengroupware.org/SOPE/trunk@533 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-xml/SaxObjC/ChangeLog b/sope-xml/SaxObjC/ChangeLog index 3dd60c5d..c6a616da 100644 --- a/sope-xml/SaxObjC/ChangeLog +++ b/sope-xml/SaxObjC/ChangeLog @@ -1,3 +1,7 @@ +2005-01-29 Marcus Mueller + + * SaxObjectDecoder.m: fixed hard to spot autorelease bug (v4.5.48) + 2004-11-12 Max Berger * SaxXMLReaderFactory.m: fixed SaxDriver lookup for gstep-base on diff --git a/sope-xml/SaxObjC/SaxObjC.xcode/project.pbxproj b/sope-xml/SaxObjC/SaxObjC.xcode/project.pbxproj index e7d573a9..ec2fd308 100644 --- a/sope-xml/SaxObjC/SaxObjC.xcode/project.pbxproj +++ b/sope-xml/SaxObjC/SaxObjC.xcode/project.pbxproj @@ -368,7 +368,7 @@ ); buildSettings = { DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 4.5.47; + DYLIB_CURRENT_VERSION = 4.5.48; FRAMEWORK_VERSION = A; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = common.h; diff --git a/sope-xml/SaxObjC/SaxObjectDecoder.m b/sope-xml/SaxObjC/SaxObjectDecoder.m index 4bd561be..f9f904a4 100644 --- a/sope-xml/SaxObjC/SaxObjectDecoder.m +++ b/sope-xml/SaxObjC/SaxObjectDecoder.m @@ -470,7 +470,7 @@ static Class StringClass = Nil; old = self->object; tmp = [[NSString alloc] initWithCharacters:_chars length:_len]; - self->object = [self->object stringByAppendingString:tmp]; + self->object = [[self->object stringByAppendingString:tmp] retain]; [tmp release]; [old release]; } diff --git a/sope-xml/SaxObjC/Version b/sope-xml/SaxObjC/Version index 25b5b300..9c2df247 100644 --- a/sope-xml/SaxObjC/Version +++ b/sope-xml/SaxObjC/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=47 +SUBMINOR_VERSION:=48