updates.
[silc.git] / apps / silc / silc.c
index 203224cc900566229cd23798bd6a08ee937ee1e9..6a766e5750216c7889efd33c2114818341f211e3 100644 (file)
@@ -646,7 +646,7 @@ SILC_TASK_CALLBACK(silc_client_run_commands)
 
     /* Allocate command context. This and its internals must be free'd 
        by the command routine receiving it. */
-    ctx = silc_calloc(1, sizeof(*ctx));
+    ctx = silc_client_command_alloc();
     ctx->client = client;
     ctx->conn = app->conn;
     ctx->command = cmd;