Changeset 5e8bec6 for global.c


Ignore:
Timestamp:
Mar 1, 2010, 8:33:50 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
c4d1f12
Parents:
a96b109
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:43:17)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:50)
Message:
Add owl_style_delete to fix leaks.

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

Legend:

Unmodified
Added
Removed
  • global.c

    rb752f1e r5e8bec6  
    854854    g->current_view.style = s;
    855855  owl_dict_insert_element(&(g->styledict), owl_style_get_name(s),
    856                           s, (void(*)(void*))owl_style_free);
     856                          s, (void (*)(void *))owl_style_delete);
    857857}
    858858
Note: See TracChangeset for help on using the changeset viewer.