fix pager segv... set active_pd to null if we are emptying pd's!

This commit is contained in:
Carsten Haitzler 2013-09-25 12:59:17 +09:00
parent 58131a4274
commit d77faef91b
1 changed files with 1 additions and 0 deletions

View File

@ -373,6 +373,7 @@ _pager_fill(Pager *p, E_Gadcon *gc)
static void
_pager_empty(Pager *p)
{
p->active_pd = NULL;
while (p->desks)
{
_pager_desk_free(p->desks->data);