diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-21 18:14:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-21 18:14:42 +0000 |
| commit | 75b23047d676056c1626ddaebe4158a80722ab3a (patch) | |
| tree | 3b1847eb8fba9817aac05a76eb08e54fd4011493 /openbox | |
| parent | 77062863f32a8a83ff941eef5fe313170538fbcd (diff) | |
strdup the exec path cuz it gets freed by the time we restart otherwise
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
