Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use free, not XFREE

  • Loading branch information...
commit 2201dbcc59b51ebb050f4cf53cf84f22d60b6fdc 1 parent 4c84f1f
Evan Phoenix authored
View
4 ext/hpricot_scan/hpricot_scan.c
@@ -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
View
4 ext/hpricot_scan/hpricot_scan.rl
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.