summaryrefslogtreecommitdiff
path: root/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/alias.c b/alias.c
index 8b3f2289..74ae8700 100644
--- a/alias.c
+++ b/alias.c
@@ -158,6 +158,10 @@ free_alias_data (data)
register alias_t *a;
a = (alias_t *)data;
+
+ if (a->flags & AL_BEINGEXPANDED)
+ clear_string_list_expander (a); /* call back to the parser */
+
free (a->value);
free (a->name);
free (data);