tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime JspFactoryImpl.java
Date Sun, 11 Feb 2001 06:33:50 GMT
costin      01/02/10 22:33:50

  Modified:    src/share/org/apache/jasper/runtime JspFactoryImpl.java
  Log:
  One extra check.
  
  Revision  Changes    Path
  1.8       +5 -4      jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java
  
  Index: JspFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- JspFactoryImpl.java	2000/12/07 19:52:42	1.7
  +++ JspFactoryImpl.java	2001/02/11 06:33:49	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java,v
1.7 2000/12/07 19:52:42 costin Exp $
  - * $Revision: 1.7 $
  - * $Date: 2000/12/07 19:52:42 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java,v
1.8 2001/02/11 06:33:49 costin Exp $
  + * $Revision: 1.8 $
  + * $Date: 2001/02/11 06:33:49 $
    *
    * ====================================================================
    * 
  @@ -111,7 +111,8 @@
       }
   
       public void releasePageContext(PageContext pc) {
  -        pc.release();
  +	if( pc==null ) return;
  +	pc.release();
   	if( usePool) {
   	    pool.put( pc );
   	}
  
  
  

Mime
View raw message