From 447649d1dca84fa93d9f480544eae1fdd35622ef Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Mon, 13 Dec 2021 01:02:44 +0100 Subject: [PATCH] Fix core dump in monitor name expansion. --- fvwm/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }