]> git.eshelyaron.com Git - emacs.git/commit
Take precautions against NULL returns from getPrimaryClip
authorPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 07:28:38 +0000 (15:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 22 Aug 2023 07:28:38 +0000 (15:28 +0800)
commitbb2dab61a18c736ebf4cdf36be0f4796bd01f429
tree795a571c1558823c4f8e5c10433361ad5dbbc47c
parent48eb022debb85ec3b844e6833194bb05d35cb5c5
Take precautions against NULL returns from getPrimaryClip

* java/org/gnu/emacs/EmacsSdk11Clipboard.java (getClipboardData):
Return null if the clip data is not set.  Also delete superfluous
debugging code.  (bug#65445)
(getClipboard): Don't dereference NULL clip data.
java/org/gnu/emacs/EmacsSdk11Clipboard.java