[Groonga-commit] groonga/groonga [master] Fix missing initialization of a pointer

Back to archive index

Daijiro MORI null+****@clear*****
Tue Aug 14 11:05:55 JST 2012


Daijiro MORI	2012-08-14 11:05:55 +0900 (Tue, 14 Aug 2012)

  New Revision: e25f65fee6799f0e0965a9ad4b6e05429c93e7e2
  https://github.com/groonga/groonga/commit/e25f65fee6799f0e0965a9ad4b6e05429c93e7e2

  Log:
    Fix missing initialization of a pointer

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -0)
===================================================================
--- lib/db.c    2012-08-14 10:59:30 +0900 (9ab237d)
+++ lib/db.c    2012-08-14 11:05:55 +0900 (c4417dd)
@@ -550,6 +550,7 @@ grn_proc_create(grn_ctx *ctx, const char *name, unsigned int name_size, grn_proc
     res->funcs[PROC_INIT] = init;
     res->funcs[PROC_NEXT] = next;
     res->funcs[PROC_FIN] = fin;
+    res->selector = NULL;
     GRN_TEXT_INIT(&res->name_buf, 0);
     res->vars = NULL;
     res->nvars = 0;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index