Skip to content

Fix memory leak when http request carries parameters#42

Merged
k8s-ci-robot merged 1 commit intokubernetes-client:masterfrom
ityuhui:yh-fix-memleak-201211
Dec 14, 2020
Merged

Fix memory leak when http request carries parameters#42
k8s-ci-robot merged 1 commit intokubernetes-client:masterfrom
ityuhui:yh-fix-memleak-201211

Conversation

@ityuhui
Copy link
Copy Markdown
Member

@ityuhui ityuhui commented Dec 11, 2020

This PR fixes the memory leak found in #39

When http request carries parameters (e.g. watch=1 ), the original code does not release the memory of the parameters.

The issues are fixed by the PR 8096 and 8211 in openapi-generator, now re-generate the client code to merge the fixes.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 11, 2020
@ityuhui
Copy link
Copy Markdown
Member Author

ityuhui commented Dec 11, 2020

/cc @brendandburns

@ityuhui ityuhui added the kind/bug Categorizes issue or PR as related to a bug. label Dec 11, 2020
@brendandburns
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 14, 2020
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, ityuhui

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [brendandburns,ityuhui]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 2a1b385 into kubernetes-client:master Dec 14, 2020
@ityuhui ityuhui deleted the yh-fix-memleak-201211 branch December 14, 2020 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants