[dahdi-commits] sruffell: branch linux/sruffell/improved_ecreference r6956 - /linux/team/sruf...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Aug 11 14:13:07 CDT 2009
Author: sruffell
Date: Tue Aug 11 14:13:03 2009
New Revision: 6956
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6956
Log:
wcte12xp-wip: Free up the kfifo instances on unload.
Modified:
linux/team/sruffell/improved_ecreference/drivers/dahdi/wcte12xp/base.c
Modified: linux/team/sruffell/improved_ecreference/drivers/dahdi/wcte12xp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/team/sruffell/improved_ecreference/drivers/dahdi/wcte12xp/base.c?view=diff&rev=6956&r1=6955&r2=6956
==============================================================================
--- linux/team/sruffell/improved_ecreference/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/team/sruffell/improved_ecreference/drivers/dahdi/wcte12xp/base.c Tue Aug 11 14:13:03 2009
@@ -649,6 +649,10 @@
list_del(&cmd->node);
free_cmd(wc, cmd);
}
+
+ for (x = 0; x < ARRAY_SIZE(wc->ec_reference); ++x)
+ kfifo_free(wc->ec_reference[x]);
+
kfree(wc);
}
More information about the dahdi-commits
mailing list