[svn-commits] sruffell: linux/trunk r8980 - /linux/trunk/drivers/dahdi/wcte12xp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sun Jul 25 19:30:50 CDT 2010
Author: sruffell
Date: Sun Jul 25 19:30:36 2010
New Revision: 8980
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8980
Log:
wcte12xp: Do not call destory_workqueue if the workqueue was not yet created.
Modified:
linux/trunk/drivers/dahdi/wcte12xp/base.c
Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=8980&r1=8979&r2=8980
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Sun Jul 25 19:30:36 2010
@@ -707,7 +707,10 @@
list_del_init(&cmd->node);
free_cmd(wc, cmd);
}
- destroy_workqueue(wc->wq);
+
+ if (wc->wq)
+ destroy_workqueue(wc->wq);
+
kfree(wc);
}
More information about the svn-commits
mailing list