X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=e166dd8bdfff95bc37cbe266d07b38007c3619d5;hb=f0b09e265a9b5c333ae27d57db6be79a3da6312f;hp=d341c9c389e2090f17d13f30869a27ba0f6e0881;hpb=2e824eece1c54e96e5178c952ca92c3c2415b099;p=chaz%2Fopenbox 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; }