| commit | 6920be311b276277ad7c38a96ccca4746b94bd95 | [log] [download] |
|---|---|---|
| author | nicm <nicm> | Tue Apr 07 13:06:22 2015 +0000 |
| committer | nicm <nicm> | Tue Apr 07 13:06:22 2015 +0000 |
| tree | 548a3c7fec74796d1736e47bf6b4944f94e4f816 | |
| parent | 3aa72b42b2a317b0ae531219d269f2a636d6482a [diff] |
When replacing, don't free the old paste until after the new one's name has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix).