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 xMalloc usage #1931

Merged
merged 1 commit into from
Nov 5, 2018
Merged

Fix xMalloc usage #1931

merged 1 commit into from
Nov 5, 2018

Commits on Nov 4, 2018

  1. Fix xMalloc usage

    No need to allocate sizeof(CXXToken) * sizeof(CXXToken) bytes
    for a single token structure when 1 * sizeof(CXXToken) bytes is enough.
    
    Same applies to CXXTokenChain.
    
    (also see oracle/opengrok#2364)
    edigaryev committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    6952bef View commit details
    Browse the repository at this point in the history