Skip to content

Commit

Permalink
no more memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Dec 17, 2009
1 parent 7e10e8a commit 8589b7c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/stree/stree.c
Expand Up @@ -4,9 +4,7 @@ VALUE cStree;


static void dealloc(void *ptr) static void dealloc(void *ptr)
{ {
// FIXME: Strings don't seem to be duped when adding to the tree, so we lst_stree_free((LST_STree *)ptr);
// need to figure out a tree free strategy. We'll just leak for now.
//lst_stree_free((LST_STree *)ptr);
} }


static VALUE allocate(VALUE klass) static VALUE allocate(VALUE klass)
Expand Down

0 comments on commit 8589b7c

Please sign in to comment.