[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH xencons] Fix ASSERTion failure in PDO destruction
The Context field is not being NULLed out, so the zero memory check fails. This patch adds the necessary NULL assignments. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xencons/pdo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xencons/pdo.c b/src/xencons/pdo.c index 3b483a5..fde3d3e 100644 --- a/src/xencons/pdo.c +++ b/src/xencons/pdo.c @@ -2002,6 +2002,8 @@ fail6: else FrontendDestroy(Pdo->Context); + Pdo->Context = NULL; + Pdo->IsDefault = FALSE; fail5: @@ -2077,6 +2079,8 @@ PdoDestroy( else FrontendDestroy(Pdo->Context); + Pdo->Context = NULL; + Pdo->IsDefault = FALSE; RtlFreeUnicodeString(&Pdo->Dx->Link); -- 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |