Permalink
Browse files

fix memory ownership

  • Loading branch information...
1 parent 1c56011 commit ba7cfbbd8c11683b3ff936a24c863fbc4dcf9e6b Alberto Lerner committed Oct 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 s/d_split.cpp
View
@@ -491,8 +491,8 @@ namespace mongo {
return false;
}
- origChunk.min = currMin;
- origChunk.max = currMax;
+ origChunk.min = currMin.getOwned();
+ origChunk.max = currMax.getOwned();
origChunk.lastmod = currChunk["lastmod"];
}

0 comments on commit ba7cfbb

Please sign in to comment.