Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Revision 03fcd3f9

Added by O'Neil Delpratt 5 months ago

Saxon/C bug fix

View differences:

src/main/c/Saxon.C.API/XsltExecutable.cpp
256 256
            }
257 257
        }
258 258

  
259
        SaxonProcessor::sxn_environ->env->DeleteGlobalRef(selection);
260
        selection = nullptr;
259
        if(selection) {
260
            SaxonProcessor::sxn_environ->env->DeleteGlobalRef(selection);
261
            selection = nullptr;
262
        }
261 263
    } else {
262 264
        for (std::map<std::string, XdmValue *>::iterator itr = parameters.begin(); itr != parameters.end(); itr++) {
263 265

  
......
267 269
            }
268 270

  
269 271
        }
270

  
271
        selection = nullptr;
272
        if(selection) {
273
            SaxonProcessor::sxn_environ->env->DeleteGlobalRef(selection);
274
            selection = nullptr;
275
        }
272 276
    }
273 277
    parameters.clear();
274 278

  

Also available in: Unified diff