Author: tridge
Date: 2005-08-07 06:16:32 +0000 (Sun, 07 Aug 2005)
New Revision: 9173

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9173

Log:
catch ep->local being NULL

Modified:
   branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c
===================================================================
--- branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c   2005-08-07 06:16:10 UTC 
(rev 9172)
+++ branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c   2005-08-07 06:16:32 UTC 
(rev 9173)
@@ -211,7 +211,9 @@
        mprDestroyVar(&ep->result);
        mprDestroyVar(&ep->tokenNumber);
 
-       mprDeleteProperty(ep->local, "local");
+       if (ep->local) {
+               mprDeleteProperty(ep->local, "local");
+       }
        mprDeleteProperty(ep->global, "this");
        mprDeleteProperty(ep->global, "global");
 

Reply via email to