Page MenuHomePhabricator

fix segfault when there is no text in clipboard

Authored by vtorri on Tue, Mar 24, 7:13 AM.


Test Plan

cnp a clipboard content without text

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
vtorri created this revision.Tue, Mar 24, 7:13 AM
vtorri requested review of this revision.Tue, Mar 24, 7:13 AM
zmike requested changes to this revision.Tue, Mar 24, 7:24 AM
zmike added inline comments.

Seems like this leaks data?

This revision now requires changes to proceed.Tue, Mar 24, 7:24 AM

in wayland too i think

vtorri updated this revision to Diff 29649.Tue, Mar 24, 7:45 AM
  • fix leak
vtorri marked an inline comment as done.Tue, Mar 24, 7:46 AM
zmike accepted this revision.Thu, Mar 26, 7:34 AM
This revision is now accepted and ready to land.Thu, Mar 26, 7:34 AM
zmike added a comment.Thu, Mar 26, 7:46 AM

Only cocoa exhibits the same issue.

This revision was automatically updated to reflect the committed changes.