X-Git-Url: http://nitlanguage.org diff --git a/lib/mongodb/mongodb.nit b/lib/mongodb/mongodb.nit index 17b137f..e7416f8 100644 --- a/lib/mongodb/mongodb.nit +++ b/lib/mongodb/mongodb.nit @@ -93,7 +93,7 @@ private class BSON redef fun to_s do var ns = native.to_native_string var res = ns.to_s_with_copy - ns.free # manual free of gc allocated NativeString + ns.free # manual free of gc allocated CString return res end