Permalink
Browse files

Use free, not XFREE

  • Loading branch information...
Evan Phoenix
Evan Phoenix committed Sep 30, 2010
1 parent 4c84f1f commit 2201dbcc59b51ebb050f4cf53cf84f22d60b6fdc
Showing with 4 additions and 4 deletions.
  1. +2 −2 ext/hpricot_scan/hpricot_scan.c
  2. +2 −2 ext/hpricot_scan/hpricot_scan.rl
@@ -6768,8 +6768,8 @@ void hstruct_mark(void* ptr) {
void hstruct_free(void* ptr) {
struct hpricot_struct* st = (struct hpricot_struct*)ptr;
- XFREE(st->ptr);
- XFREE(st);
+ free(st->ptr);
+ free(st);
}
static VALUE
@@ -625,8 +625,8 @@ void hstruct_mark(void* ptr) {
void hstruct_free(void* ptr) {
struct hpricot_struct* st = (struct hpricot_struct*)ptr;
- XFREE(st->ptr);
- XFREE(st);
+ free(st->ptr);
+ free(st);
}
static VALUE

0 comments on commit 2201dbc

Please sign in to comment.