Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commita7976a3530a69823ceff4b58773886c3e15a5d6c (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-06-17 06:38:40 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-06-17 06:38:40 +0200
Files07d1ca80c07980095a78b972cbe71f4757badfef
goodwolf-a7976a3530a69823ceff4b58773886c3e15a5d6c.tar
goodwolf-a7976a3530a69823ceff4b58773886c3e15a5d6c.tar.gz
goodwolf-a7976a3530a69823ceff4b58773886c3e15a5d6c.zip
Parentb3426f0fe4b262bda2473ad142e5099f0436e5dd (diff)
Bugfix: fix wrong argument to sizeof for *window g_malloc
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.c2
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, "");