* 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
This commit is contained in:
David Ayers 2006-01-26 20:42:20 +00:00
parent 16857d52e5
commit e3f1372d29
3 changed files with 13 additions and 5 deletions

View file

@ -1,8 +1,16 @@
2005-01-11 David Wetzel <dave@turbocat.de>
2006-01-26 David Ayers <d.ayers@inode.at>
* GSWeb.framework/GSWAction.m (-[initWithRequest:]): Retain
context.
* GSWeb.framework/GSWActionRequestHandler.m
(-[getActionInstanceOfClass:withRequest:): Autorelease action.
2006-01-11 David Wetzel <dave@turbocat.de>
* GSWeb.framework/GSWHTMLComment.h
* GSWeb.framework/GSWHTMLComment.m
Removed multiple categories per file.
2005-12-19 David Ayers <d.ayers@inode.at>
* GSWAdaptors/Apache/mod_gsweb.c (GSWeb_Handler): Avoid endless

View file

@ -1,6 +1,6 @@
/** GSWAction.m - <title>GSWeb: Class GSWAction</title>
Copyright (C) 1999-2005 Free Software Foundation, Inc.
Copyright (C) 1999-2006 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
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];
};

View file

@ -1,6 +1,6 @@
/** GSWActionRequestHandler.m - <title>GSWeb: Class GSWActionRequestHandler</title>
Copyright (C) 1999-2004 Free Software Foundation, Inc.
Copyright (C) 1999-2006 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Feb 1999
@ -299,7 +299,7 @@ RCS_ID("$Id$")
LOGObjectFnStart();
action = (GSWAction*)[[actionClass alloc]initWithRequest:aRequest];
action = AUTORELEASE([[actionClass alloc]initWithRequest:aRequest]);
LOGObjectFnStop();