svn commit: samba r9173 - in branches/SAMBA_4_0/source/lib/appweb/ejs: .

tridge at samba.org tridge at samba.org
Sun Aug 7 06:16:33 GMT 2005


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");
 



More information about the samba-cvs mailing list