Page MenuHomePhabricator

fix segfault when there is no text in clipboard

Authored by vtorri on Mar 24 2020, 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.Mar 24 2020, 7:13 AM
vtorri requested review of this revision.Mar 24 2020, 7:13 AM
zmike requested changes to this revision.Mar 24 2020, 7:24 AM
zmike added inline comments.

Seems like this leaks data?

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

in wayland too i think

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

Only cocoa exhibits the same issue.

This revision was automatically updated to reflect the committed changes.