Skip to content
Snippets Groups Projects

daemon/worker: fix a memory leak

Merged Vladimír Čunát requested to merge task-refcount-minimal into master
1 unresolved thread

Discovered case: TCP write towards upstream fails due to ECONNRESET, and on this place of code we "forget" the whole qr_task and thus its corresponding kr_request, so it remains unanswered and using memory.

Merge request reports

Pipeline #83844 failed

Pipeline: Knot Resolver

#83845

    Pipeline failed for 5b2ba2d2 on task-refcount-minimal

    Approved by

    Merged by Tomas KrizekTomas Krizek 3 years ago (Jun 18, 2021 10:51am UTC)

    Merge details

    • Changes merged into master with c32dee26.
    • Deleted the source branch.

    Pipeline #83852 passed

    Pipeline passed for c32dee26 on master

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    Please register or sign in to reply
    Loading