Skip to content

Let my patches go - #930

Merged
johnhaley81 merged 2 commits into
masterfrom
let-my-patches-go
Feb 29, 2016
Merged

Let my patches go#930
johnhaley81 merged 2 commits into
masterfrom
let-my-patches-go

Conversation

@joshaber

Copy link
Copy Markdown
Collaborator

Fixes #877.

It looks like #883 was supposed to fix this, but we missed the part where we actually did the free’ing. 🙈

This is only WIP because I’m still trying to make a build so I can test that this fixes the whole problem.

@joshaber

Copy link
Copy Markdown
Collaborator Author

(Also cc atom/atom#10931.)

@johnhaley81

Copy link
Copy Markdown
Collaborator

Yeah, I swore I commented on that exact line saying "These need to be freed" but I can't find it now. /shrug

@implausible

Copy link
Copy Markdown
Member

Oh wow, good catch. Thanks!

@implausible

Copy link
Copy Markdown
Member

That should take care of the problem, the intention of this C++ rewrite was to do exactly that, free the patches after we use them. I definitely accidentally a line.

@joshaber

Copy link
Copy Markdown
Collaborator Author

Verified this fixes the issue we were seeing in Atom 👍

@joshaber joshaber changed the title [WIP] Let my patches go Let my patches go Feb 29, 2016
@johnhaley81

Copy link
Copy Markdown
Collaborator

👍 Thanks @joshaber

johnhaley81 added a commit that referenced this pull request Feb 29, 2016
@johnhaley81
johnhaley81 merged commit e4bf2f2 into master Feb 29, 2016
@johnhaley81
johnhaley81 deleted the let-my-patches-go branch February 29, 2016 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

calculating convenient patches locks files without autocrlf

3 participants