diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-07 06:16:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:28 -0500 |
commit | f13fbd7e6fcdf8fe6de2d9be2fd453fe22fc5e16 (patch) | |
tree | a8cf911f501e23a904b1e65beb42cdfdbc7c8300 /source4/lib/appweb | |
parent | f9e0b8aca502357d64f4816204ddcb2c7e876c8d (diff) | |
download | samba-f13fbd7e6fcdf8fe6de2d9be2fd453fe22fc5e16.tar.gz samba-f13fbd7e6fcdf8fe6de2d9be2fd453fe22fc5e16.tar.bz2 samba-f13fbd7e6fcdf8fe6de2d9be2fd453fe22fc5e16.zip |
r9173: catch ep->local being NULL
(This used to be commit 9f75bc3ca061abbfeb6ac9fc60834b8c1f6e2c4d)
Diffstat (limited to 'source4/lib/appweb')
-rw-r--r-- | source4/lib/appweb/ejs/ejsLib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/appweb/ejs/ejsLib.c b/source4/lib/appweb/ejs/ejsLib.c index eed6d67fb4..b24b2b013c 100644 --- 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"); |