From 32b43d1af129e7d453918e4bb330053c26022575 Mon Sep 17 00:00:00 2001 From: sabetts Date: Wed, 24 Aug 2005 00:26:39 +0000 Subject: (cmd_addhook): remove erroneous call to free. --- src/actions.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index 06e265c..ccfb048 100644 --- a/src/actions.c +++ b/src/actions.c @@ -4599,7 +4599,6 @@ cmd_addhook (int interactive, struct cmdarg **args) sbuf_copy (cmd, ARG_STRING(1)); hook_add (hook, cmd); - free (dup); return cmdret_new (RET_SUCCESS, NULL); } -- cgit v1.2.3