ext/jpeg_jpeg.c in jpeg-0.3.0 vs ext/jpeg_jpeg.c in jpeg-0.3.1

- old
+ new

@@ -49,13 +49,13 @@ } static void jpeg_jpeg_free(struct jpeg_jpeg *p) { if (p->read) { jpeg_destroy_decompress(p->read); - free(p->read); + xfree(p->read); } if (p->error) { - free(p->error); + xfree(p->error); } xfree(p); } static VALUE jpeg_jpeg_s_open(int argc, VALUE *argv, VALUE self) {