-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in ResultInfo::operator =() #1
Comments
The issue is in TestCaseInfo::operator=() not in ResultInfo. |
That's what happens when you do this stuff without the code in front of you. Thanks again |
Fixed. Now does copy & swap |
nanoant
pushed a commit
to ujhpc/Catch
that referenced
this issue
Nov 17, 2013
oneof_reader::operator() is searching alt for an input string `s'.
Closed
alpereira7
added a commit
to alpereira7/Catch2
that referenced
this issue
Jul 9, 2018
Link catchorg#2 was directed to catchorg#1.
dmsteck
pushed a commit
to dmsteck/Catch2
that referenced
this issue
May 3, 2020
Pull latest Catch2 master
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The TestCase pointer member recieves a clone of the incoming, but if it already pointed at something else it leaks.
Op= should be implemented in terms of copy & swap anyway.
Thanks to Sam Saariste for spotting this one.
The text was updated successfully, but these errors were encountered: