/[pcre]/code/tags/pcre-8.37/pcre_jit_compile.c
ViewVC logotype

Diff of /code/tags/pcre-8.37/pcre_jit_compile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 986 by zherczeg, Sat Jul 7 03:33:54 2012 UTC revision 987 by zherczeg, Sat Jul 7 04:11:29 2012 UTC
# Line 7834  if ((extra->flags & PCRE_EXTRA_EXECUTABL Line 7834  if ((extra->flags & PCRE_EXTRA_EXECUTABL
7834    functions = (executable_functions *)extra->executable_jit;    functions = (executable_functions *)extra->executable_jit;
7835  else  else
7836    {    {
7837      /* Note: If your memory-checker has flagged the allocation below as a
7838       * memory leak, it is probably because you either forgot to call
7839       * pcre_free_study() (or pcre16_free_study()) on the pcre_extra (or
7840       * pcre16_extra) object, or you called said function after having
7841       * cleared the PCRE_EXTRA_EXECUTABLE_JIT bit from the "flags" field
7842       * of the object. (The function will only free the JIT data if the
7843       * bit remains set, as the bit indicates that the pointer to the data
7844       * is valid.)
7845       */
7846    functions = SLJIT_MALLOC(sizeof(executable_functions));    functions = SLJIT_MALLOC(sizeof(executable_functions));
7847    if (functions == NULL)    if (functions == NULL)
7848      {      {

Legend:
Removed from v.986  
changed lines
  Added in v.987

  ViewVC Help
Powered by ViewVC 1.1.5