[Groonga-commit] groonga/groonga [master] [geo] add missing close.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 22日 (火) 15:00:28 JST


Kouhei Sutou	2011-11-22 06:00:28 +0000 (Tue, 22 Nov 2011)

  New Revision: a27d1e2ec53837df6f2717748614f7a4e0e5a88c

  Log:
    [geo] add missing close.

  Modified files:
    lib/geo.c

  Modified: lib/geo.c (+1 -0)
===================================================================
--- lib/geo.c    2011-11-22 05:11:02 +0000 (3fa24a0)
+++ lib/geo.c    2011-11-22 06:00:28 +0000 (30711dc)
@@ -1521,6 +1521,7 @@ grn_geo_select_in_rectangle(grn_ctx *ctx, grn_obj *index,
                         &data);
     grn_obj_unlink(ctx, cursor);
     grn_ii_resolve_sel_and(ctx, (grn_hash *)res, op);
+    grn_geo_cursor_close(ctx, cursor);
   }
 
   return ctx->rc;




Groonga-commit メーリングリストの案内
Back to archive index