Changeset 1639ff7


Ignore:
Timestamp:
May 1, 2009, 8:47:54 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e574a00
Parents:
1b62a55
git-author:
Nelson Elhage <nelhage@mit.edu> (05/01/09 20:47:06)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/01/09 20:47:54)
Message:
style.c: Don't leak perl messages when we format them.

We forgot to mortalize the ref before pushing it on the stack, so it
was never getting freed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • style.c

    r864ed35 r1639ff7  
    5151  OWL_PERL_CALL_METHOD(s->perlobj,
    5252                       "format_message",
    53                        XPUSHs(owl_perlconfig_message2hashref(m));,
     53                       XPUSHs(sv_2mortal(owl_perlconfig_message2hashref(m)));,
    5454                       "Error in format_message: %s",
    5555                       0,
Note: See TracChangeset for help on using the changeset viewer.