strdup the exec path cuz it gets freed by the time we restart otherwise

This commit is contained in:
Dana Jansens 2003-06-21 18:14:42 +00:00
parent 77062863f3
commit 75b23047d6

View file

@ -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;
}