Skip to content
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

Fix error reported by Valgrind #2299

Merged
merged 1 commit into from Feb 5, 2014

Commits on Feb 4, 2014

  1. Fix error reported by Valgrind

    Fix this error:
     ==6514== Mismatched free() / delete / delete []
    reported by valgrind. This is a minimal fix for the
    reported problem.
    
    Note there are some other strange looking things in the file
    that I did not fix.  The following line appears to mistakenly
    use ">" instead of "<"
        if (matchedCand.pt() > ptBins.at(0)) { // underflow problem
    
    This fix is for 7_0_X and 7_1_X. There are similar
    problems in 6_2_X which someone might want to fix if this
    is used in 6_2_X, although the code has been modified since
    then so the exact same fix will not work.
    wddgit committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    45bc3fc View commit details
    Browse the repository at this point in the history