Changeset 3959547


Ignore:
Timestamp:
Mar 1, 2010, 8:33:49 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
2d0de76
Parents:
5cebc0e
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 23:36:40)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:49)
Message:
owl_viewwin_init_fmtext: Don’t leak the temporary formatted text.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • viewwin.c

    rdd6af02 r3959547  
    4242      owl_fmtext_append_normal(&(v->fmtext), "\n");
    4343  }
     44  owl_free(text);
    4445  v->textlines=owl_fmtext_num_lines(&(v->fmtext));
    4546  v->topline=0;
Note: See TracChangeset for help on using the changeset viewer.