ossp-pkg/xds/init.c 1.2 -> 1.3
--- init.c 2001/07/04 16:21:26 1.2
+++ init.c 2001/07/08 14:21:08 1.3
@@ -53,6 +53,16 @@
ctx->mode = mode;
+ /* Allocate engines array. */
+
+ ctx->engines = calloc(32, sizeof(engine_map_t));
+ if (ctx->engines == NULL)
+ {
+ free(ctx);
+ return NULL;
+ }
+ ctx->engines_capacity = 32;
+
/* We are initialized. */
return ctx;
|
|