diff options
Diffstat (limited to 'Src/Modules/example.c')
-rw-r--r-- | Src/Modules/example.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/Modules/example.c b/Src/Modules/example.c index 0b15fa064..40620fa96 100644 --- a/Src/Modules/example.c +++ b/Src/Modules/example.c @@ -70,9 +70,7 @@ bin_example(char *nam, char **args, char *ops, int func) zsfree(strparam); strparam = ztrdup(*oargs ? *oargs : ""); freearray(arrparam); - PERMALLOC { - arrparam = arrdup(oargs); - } LASTALLOC; + arrparam = zarrdup(oargs); return 0; } |