diff --git a/fvwm/expand.c b/fvwm/expand.c index bf35b1316..b413137e6 100644 --- a/fvwm/expand.c +++ b/fvwm/expand.c @@ -544,7 +544,7 @@ static signed int expand_vars_extended( mon2 = monitor_resolve_name(m_name); if (mon2 == NULL) { - free(rest_s); + free(p_free); return -1; }