[svn-commits] sruffell: linux/trunk r8689 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 25 14:23:41 CDT 2010


Author: sruffell
Date: Tue May 25 14:23:40 2010
New Revision: 8689

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8689
Log:
wctdm24xxp: Do not access memory after we free it.

Modified:
    linux/trunk/drivers/dahdi/wctdm24xxp/base.c

Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=8689&r1=8688&r2=8689
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Tue May 25 14:23:40 2010
@@ -4965,9 +4965,9 @@
 			wc->vpmadt032 = NULL;
 		}
 
+		dev_info(&wc->vb.pdev->dev, "Freed a Wildcard\n");
 		/* Release span */
 		wctdm_release(wc);
-		dev_info(&wc->vb.pdev->dev, "Freed a Wildcard\n");
 	}
 }
 




More information about the svn-commits mailing list