Skip to content

Commit

Permalink
Fixing a double deletion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbarrette committed Oct 9, 2016
1 parent fd8f1d9 commit 692533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curlpp/Easy.cpp
Expand Up @@ -70,7 +70,7 @@ void
curlpp::Easy::setOpt(std::unique_ptr<OptionBase> option)
{
option->updateHandleToMe(mCurl.get());
mOptions.setOpt(option.get());
mOptions.setOpt(option.release());
}


Expand Down

0 comments on commit 692533f

Please sign in to comment.