X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;fp=launcher.c;h=2c4fbbe39cc29e65576853357f51ee2bf7d60380;hp=fe57eb94b7640de4f80443d340d5b02101e3871b;hb=717d5e7fb0b84458e74468f0507d6dcfc1ba071d;hpb=4e09868aec19cdc25a5d991fff8d93ec90c013d8 diff --git a/launcher.c b/launcher.c index fe57eb9..2c4fbbe 100644 --- a/launcher.c +++ b/launcher.c @@ -517,7 +517,7 @@ void launch_microb(struct swb_context *ctx, char *uri) { if (kill_browserd) system("kill `pidof browserd`"); - if (!ctx || !ctx->continuous_mode) + if (!ctx || !ctx->continuous_mode) exit(0); dbus_request_osso_browser_name(ctx); @@ -590,7 +590,7 @@ static void launch_other_browser(struct swb_context *ctx, char *uri) { /* Parent process or error in fork() */ if (urilen > 0) free(quoted_uri); - free(command); + free(command); return; } /* Child process */