]>
Commit | Line | Data |
---|---|---|
36aa8c36 JR |
1 | Index: squid3/src/fs/diskd/store_io_diskd.cc |
2 | diff -c squid3/src/fs/diskd/store_io_diskd.cc:1.37 squid3/src/fs/diskd/store_io_diskd.cc:1.38 | |
3 | *** squid3/src/fs/diskd/store_io_diskd.cc:1.37 Sat Aug 9 06:31:41 2003 | |
4 | --- squid3/src/fs/diskd/store_io_diskd.cc Sat Aug 23 06:33:04 2003 | |
5 | *************** | |
6 | *** 630,635 **** | |
7 | --- 630,636 ---- | |
8 | ||
9 | if (M->newstyle) { | |
10 | DiskdFile *theFile = (DiskdFile *)M->callback_data; | |
11 | + theFile->RefCountDereference(); | |
12 | theFile->completed (M); | |
13 | } else | |
14 | switch (M->mtype) { | |
15 | *************** | |
16 | *** 668,673 **** | |
17 | --- 669,675 ---- | |
18 | static int seq_no = 0; | |
19 | M.mtype = mtype; | |
20 | M.callback_data = cbdataReference(theFile); | |
21 | + theFile->RefCountReference(); | |
22 | M.size = size; | |
23 | M.offset = offset; | |
24 | M.status = -1; |