ext/geos_c_impl/preface.h in rgeo-3.0.0.pre.rc.1 vs ext/geos_c_impl/preface.h in rgeo-3.0.0.pre.rc.2
- old
+ new
@@ -48,5 +48,9 @@
#define RGEO_END_C
#endif
// https://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
#define streq(a, b) (!strcmp((a),(b)))
+
+// When using ruby ALLOC* macros, we are using ruby_xmalloc, which counterpart
+// is ruby_xfree. This macro helps enforcing that by showing us the way.
+#define FREE ruby_xfree