strdup the exec path cuz it gets freed by the time we restart otherwise
This commit is contained in:
parent
77062863f3
commit
75b23047d6
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ void action_moveresize(union ActionData *data)
|
||||||
|
|
||||||
void action_restart(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;
|
ob_shutdown = ob_restart = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue