From: Daniel Carl Date: Thu, 13 Jun 2019 23:09:20 +0000 (+0200) Subject: Fixed memory allocation errors in incognito mode. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=4527955c8ab4bbef7472ce0e257b0111fdf8302d;p=vimb.git Fixed memory allocation errors in incognito mode. Fix crash with message "free(): invalid next size (fast)" when a new instance was spawned. --- diff --git a/src/main.c b/src/main.c index 28f17e6..6eb69dd 100644 --- a/src/main.c +++ b/src/main.c @@ -1027,6 +1027,7 @@ static void spawn_new_instance(const char *uri) #ifndef FEATURE_NO_XEMBED + (vb.embed ? 2 : 0) #endif + + (vb.incognito ? 1 : 0) + (vb.profile ? 2 : 0) + (vb.no_maximize ? 1 : 0), sizeof(char *)