summaryrefslogtreecommitdiff
path: root/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'tab.c')
-rw-r--r--tab.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tab.c b/tab.c
index b7076ef..27d0087 100644
--- a/tab.c
+++ b/tab.c
@@ -2175,6 +2175,9 @@ void groupCreateSlot (GroupSelection *group,
return;
slot = malloc (sizeof (GroupTabBarSlot));
+ if (!slot)
+ return;
+
slot->window = w;
slot->region = XCreateRegion ();