From 19cb99449e36cc18b00ee05aa799e4dae9b3688d Mon Sep 17 00:00:00 2001 From: ayers Date: Thu, 26 Jan 2006 20:42:20 +0000 Subject: [PATCH] * GSWeb.framework/GSWAction.m (-[initWithRequest:]): Retain context. * GSWeb.framework/GSWActionRequestHandler.m (-[getActionInstanceOfClass:withRequest:): Autorelease action. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22368 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 10 +++++++++- GSWeb.framework/GSWAction.m | 4 ++-- GSWeb.framework/GSWActionRequestHandler.m | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2dae04..d8e0c8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,16 @@ -2005-01-11 David Wetzel +2006-01-26 David Ayers + + * GSWeb.framework/GSWAction.m (-[initWithRequest:]): Retain + context. + * GSWeb.framework/GSWActionRequestHandler.m + (-[getActionInstanceOfClass:withRequest:): Autorelease action. + +2006-01-11 David Wetzel * GSWeb.framework/GSWHTMLComment.h * GSWeb.framework/GSWHTMLComment.m Removed multiple categories per file. + 2005-12-19 David Ayers * GSWAdaptors/Apache/mod_gsweb.c (GSWeb_Handler): Avoid endless diff --git a/GSWeb.framework/GSWAction.m b/GSWeb.framework/GSWAction.m index 09549fa..792b5bc 100644 --- a/GSWeb.framework/GSWAction.m +++ b/GSWeb.framework/GSWAction.m @@ -1,6 +1,6 @@ /** GSWAction.m - GSWeb: Class GSWAction - Copyright (C) 1999-2005 Free Software Foundation, Inc. + Copyright (C) 1999-2006 Free Software Foundation, Inc. Written by: Manuel Guesdon Date: Feb 1999 @@ -43,7 +43,7 @@ RCS_ID("$Id$") LOGObjectFnStart(); if ((self=[super init])) { - _context=[[GSWApplication application]createContextForRequest:aRequest]; + _context = RETAIN([GSWApp createContextForRequest:aRequest]); [GSWApp _setContext:_context]; //NDFN [self _initializeRequestSessionIDInContext:_context]; }; diff --git a/GSWeb.framework/GSWActionRequestHandler.m b/GSWeb.framework/GSWActionRequestHandler.m index 506e5c5..21455e3 100644 --- a/GSWeb.framework/GSWActionRequestHandler.m +++ b/GSWeb.framework/GSWActionRequestHandler.m @@ -1,6 +1,6 @@ /** GSWActionRequestHandler.m - GSWeb: Class GSWActionRequestHandler - Copyright (C) 1999-2004 Free Software Foundation, Inc. + Copyright (C) 1999-2006 Free Software Foundation, Inc. Written by: Manuel Guesdon Date: Feb 1999 @@ -299,7 +299,7 @@ RCS_ID("$Id$") LOGObjectFnStart(); - action = (GSWAction*)[[actionClass alloc]initWithRequest:aRequest]; + action = AUTORELEASE([[actionClass alloc]initWithRequest:aRequest]); LOGObjectFnStop();