]> git.sur5r.net Git - i3/i3/blobdiff - src/startup.c
Update userguide "Focus Parent": add the default
[i3/i3] / src / startup.c
index 166842e07c04e8471123ec331012837ffe189220..b1a2f60215550d9585a7f24efbebb243e2c672cd 100644 (file)
@@ -49,6 +49,7 @@ static void startup_timeout(EV_P_ ev_timer *w, int revents) {
 
     if (!sequence) {
         DLOG("Sequence already deleted, nevermind.\n");
+        free(w);
         return;
     }
 
@@ -190,7 +191,7 @@ void start_application(const char *command, bool no_startup_id) {
             if (!no_startup_id)
                 sn_launcher_context_setup_child_process(context);
 
-            execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, (void *)NULL);
+            execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, NULL);
             /* not reached */
         }
         _exit(0);