projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956ed26
)
Fixed memory allocation errors in incognito mode.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 13 Jun 2019 23:09:20 +0000
(
01:09
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 13 Jun 2019 23:09:20 +0000
(
01:09
+0200)
Fix crash with message "free(): invalid next size (fast)" when a new
instance was spawned.
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
28f17e6
..
6eb69dd
100644
(file)
--- 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 *)