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 memory double free error #96

Merged
merged 1 commit into from
Feb 2, 2019

Commits on Feb 1, 2019

  1. Fix memory double free error

    The memory double free error occurs if we initialize and destroy dcurl repeatedly.
    dcurl maintains a list of nodes for different hardwares.
    The error is caused by forgetting to remove the nodes from the list.
    To fix it, add the corresponding function list_del() in dcurl_destroy().
    
    Besides fixing the error, one of the testcases is modified
    to repeatedly test the initialization and destruction of dcurl N times.
    The value of N equals to 5.
    
    Close DLTcollab#94.
    marktwtn committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    fa15b32 View commit details
    Browse the repository at this point in the history