git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e0b8a
)
r9173: catch ep->local being NULL
author
Andrew Tridgell
<tridge@samba.org>
Sun, 7 Aug 2005 06:16:32 +0000
(06:16 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:31:28 +0000
(13:31 -0500)
(This used to be commit
9f75bc3ca061abbfeb6ac9fc60834b8c1f6e2c4d
)
source4/lib/appweb/ejs/ejsLib.c
patch
|
blob
|
history
diff --git
a/source4/lib/appweb/ejs/ejsLib.c
b/source4/lib/appweb/ejs/ejsLib.c
index eed6d67fb42025744e1898b06483466a4d91d34c..b24b2b013ce378249614ec0b01b11cd2f041cf57 100644
(file)
--- a/
source4/lib/appweb/ejs/ejsLib.c
+++ b/
source4/lib/appweb/ejs/ejsLib.c
@@
-211,7
+211,9
@@
void ejsCloseEngine(EjsId eid)
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");