Prev: OMAP: Fix for bus width which improves SD card's peformance.
Next: tulip_stop_rxtx() failed (CSR5 0xf0260000 CSR6 0xb3862002) on DEC Alpha Personal Workstation 433au
From: Cyrill Gorcunov on 5 Apr 2010 13:00 Don't assign NULL too early Signed-off-by: Cyrill Gorcunov <gorcunov(a)openvz.org> --- drivers/staging/hv/Hv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.git/drivers/staging/hv/Hv.c ===================================================================== --- linux-2.6.git.orig/drivers/staging/hv/Hv.c +++ linux-2.6.git/drivers/staging/hv/Hv.c @@ -305,9 +305,9 @@ void HvCleanup(void) DPRINT_ENTER(VMBUS); if (gHvContext.SignalEventBuffer) { + kfree(gHvContext.SignalEventBuffer); gHvContext.SignalEventBuffer = NULL; gHvContext.SignalEventParam = NULL; - kfree(gHvContext.SignalEventBuffer); } if (gHvContext.HypercallPage) { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |