* * * Regexp memory error handler * * * ************************************************************************/ * xmlRegexpErrMemory: * @extra: extra information * * Handle an out of memory condition */
| 358 | * Handle an out of memory condition |
| 359 | */ |
| 360 | static void |
| 361 | xmlRegexpErrMemory(xmlRegParserCtxtPtr ctxt) |
| 362 | { |
| 363 | if (ctxt != NULL) |
| 364 | ctxt->error = XML_ERR_NO_MEMORY; |
| 365 | |
| 366 | xmlRaiseMemoryError(NULL, NULL, NULL, XML_FROM_REGEXP, NULL); |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * xmlRegexpErrCompile: |
no test coverage detected