CQL node: un-init memory
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 7 Sep 2011 09:00:02 +0000 (11:00 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 7 Sep 2011 09:00:02 +0000 (11:00 +0200)
src/cqlutil.c

index 43e499b..2679d72 100644 (file)
@@ -98,6 +98,7 @@ struct cql_node *cql_node_mk_sort(NMEM nmem, const char *index,
         p->u.sort.index = nmem_strdup(nmem, index);
     p->u.sort.modifiers = modifiers;
     p->u.sort.next = 0;
+    p->u.sort.search = 0;
     return p;
 }