Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix VMException copy constructor

This was not copying the reason from the passed exception.
  • Loading branch information...
commit bc8873c95d8896be6aaa16f98616b30234762ad8 1 parent 2ffbc39
@dbussink dbussink authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  vm/exception.cpp
View
2  vm/exception.cpp
@@ -177,7 +177,7 @@ namespace rubinius {
backtrace = new VMException::Backtrace(*other.backtrace);
}
if(other.reason) {
- reason = strdup(reason);
+ reason = strdup(other.reason);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.