From 75b23047d676056c1626ddaebe4158a80722ab3a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Jun 2003 18:14:42 +0000 Subject: [PATCH] strdup the exec path cuz it gets freed by the time we restart otherwise --- openbox/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/action.c b/openbox/action.c index d341c9c3..e166dd8b 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1118,7 +1118,7 @@ void action_moveresize(union ActionData *data) void action_restart(union ActionData *data) { - ob_restart_path = data->execute.path; + ob_restart_path = g_strdup(data->execute.path); ob_shutdown = ob_restart = TRUE; } -- 2.45.2