summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/list.h3
1 files changed, 2 insertions, 1 deletions
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
434 va.destroy( pCur->pValue ); 434 va.destroy( pCur->pValue );
435 va.deallocate( pCur->pValue, 1 ); 435 va.deallocate( pCur->pValue, 1 );
436 pFirst = pCur->pNext; 436 pFirst = pCur->pNext;
437 pFirst->pPrev = NULL;
438 la.destroy( pCur ); 437 la.destroy( pCur );
439 la.deallocate( pCur, 1 ); 438 la.deallocate( pCur, 1 );
440 if( pFirst == NULL ) 439 if( pFirst == NULL )
441 pLast = NULL; 440 pLast = NULL;
441 else
442 pFirst->pPrev = NULL;
442 nSize--; 443 nSize--;
443 } 444 }
444 else 445 else