diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 458f9c8..dc68114 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -439,7 +439,7 @@ static int slbt_split_argv( else if (!(sargv->dargs = calloc(1,size+1))) return -1; - else if (!(*aobjlistv = calloc(argc >> 1,sizeof(**aobjlistv)))) { + else if (!(*aobjlistv = calloc(argc,sizeof(**aobjlistv)))) { free(sargv->dargv); free(sargv->dargs); return -1; |