diff options
author | dan <dan@noemail.net> | 2010-07-02 19:04:59 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2010-07-02 19:04:59 +0000 |
commit | 5257af7dba508d5af179951d2dc40e8b39da4fbc (patch) | |
tree | 63440704b86e3975d32aca66d11ae38bc080c876 /src | |
parent | 84b9618231f79f045cce46a6377a8df956857cbe (diff) | |
download | sqlite-5257af7dba508d5af179951d2dc40e8b39da4fbc.tar.gz sqlite-5257af7dba508d5af179951d2dc40e8b39da4fbc.zip |
Fix a bug in test_vfs.c causing an assert to fail. Changes to test code only.
FossilOrigin-Name: 336ce7d29767f76c4a92aa4bbc46d21e19871667
Diffstat (limited to 'src')
-rw-r--r-- | src/test_vfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test_vfs.c b/src/test_vfs.c index cd4636230..964481302 100644 --- a/src/test_vfs.c +++ b/src/test_vfs.c @@ -910,6 +910,7 @@ static int tvfsShmClose( for(ppFd=&pBuffer->pFile; *ppFd!=pFd; ppFd=&((*ppFd)->pNext)); assert( (*ppFd)==pFd ); *ppFd = pFd->pNext; + pFd->pNext = 0; if( pBuffer->pFile==0 ){ int i; |