logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: a7976a3530a69823ceff4b58773886c3e15a5d6c
parent b3426f0fe4b262bda2473ad142e5099f0436e5dd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 17 Jun 2019 06:38:40 +0200

Bugfix: fix wrong argument to sizeof for *window g_malloc

Diffstat:

Mbadwolf.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/badwolf.c b/badwolf.c @@ -722,7 +722,7 @@ int main(int argc, char *argv[]) { // getting an abort if this one fails to alloc - struct Window *window = g_malloc(sizeof(struct Client)); + struct Window *window = g_malloc(sizeof(struct Window)); gchar *target_url = NULL; setlocale(LC_ALL, "");