From a7976a3530a69823ceff4b58773886c3e15a5d6c Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 17 Jun 2019 06:38:40 +0200 Subject: Bugfix: fix wrong argument to sizeof for *window g_malloc --- badwolf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwolf.c b/badwolf.c index d882547..67979b7 100644 --- 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, ""); -- cgit v1.3.1-23-gd82d