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

os/filestore: do not free event if not added #16235

Merged
merged 2 commits into from Jul 10, 2017
Merged

Commits on Jul 10, 2017

  1. common/Timer: return false if event not added

    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Jul 10, 2017
    Copy the full SHA
    11914dc View commit details
    Browse the repository at this point in the history
  2. os/filestore: do not free event not added

    if an event fails to be added, it's freed by the callee. so we should
    not try to free it again. that address could be re-used by the
    allocator, to we might be freeing an irrelevent event.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Jul 10, 2017
    Copy the full SHA
    2bdb662 View commit details
    Browse the repository at this point in the history