From c67327f6d1b76de4212e70881ce5ca7e07ab096c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 11 Jul 2007 22:18:33 +0000 Subject: *whimper* --- src/list.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index c78b95b..388df7c 100644 --- a/src/list.h +++ b/src/list.h @@ -434,11 +434,12 @@ namespace Bu va.destroy( pCur->pValue ); va.deallocate( pCur->pValue, 1 ); pFirst = pCur->pNext; - pFirst->pPrev = NULL; la.destroy( pCur ); la.deallocate( pCur, 1 ); if( pFirst == NULL ) pLast = NULL; + else + pFirst->pPrev = NULL; nSize--; } else -- cgit v1.2.3