Skip to content

Commit

Permalink
more incorrect free use
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris McFarlen committed May 23, 2024
1 parent c2f64c6 commit 142d43c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/iocore/cache/CacheEvacuateDocVC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ CacheEvacuateDocVC::evacuateDocDone(int /* event ATS_UNUSED */, Event * /* e ATS
break;
}
}
return free_CacheVC(this);
return free_CacheEvacuateDocVC(this);
}

int
Expand Down Expand Up @@ -190,7 +190,7 @@ CacheEvacuateDocVC::evacuateReadHead(int /* event ATS_UNUSED */, Event * /* e AT
// the whole document has been evacuated. Insert the directory
// entry in the directory.
dir_lookaside_fixup(&earliest_key, this->stripe);
return free_CacheVC(this);
return free_CacheEvacuateDocVC(this);
}
return EVENT_CONT;
Lcollision:
Expand All @@ -203,5 +203,5 @@ CacheEvacuateDocVC::evacuateReadHead(int /* event ATS_UNUSED */, Event * /* e AT
}
Ldone:
dir_lookaside_remove(&earliest_key, this->stripe);
return free_CacheVC(this);
return free_CacheEvacuateDocVC(this);
}

0 comments on commit 142d43c

Please sign in to comment.