projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2e8e4
)
Fixed NULL dereference.
author
Armin Novak
<armin.novak@thincast.com>
Wed, 16 Jan 2019 14:01:49 +0000
(15:01 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 23 Jan 2019 14:56:11 +0000
(15:56 +0100)
client/Wayland/wlf_cliprdr.c
patch
|
blob
|
history
diff --git
a/client/Wayland/wlf_cliprdr.c
b/client/Wayland/wlf_cliprdr.c
index
acce16e
..
9187bdd
100644
(file)
--- a/
client/Wayland/wlf_cliprdr.c
+++ b/
client/Wayland/wlf_cliprdr.c
@@
-803,10
+803,7
@@
wfClipboard* wlf_clipboard_new(wlfContext* wfc)
wfClipboard* clipboard;
if (!(clipboard = (wfClipboard*) calloc(1, sizeof(wfClipboard))))
- {
- WLog_Print(clipboard->log, WLOG_ERROR, "failed to allocate wfClipboard data");
return NULL;
- }
clipboard->wfc = wfc;
channels = wfc->context.channels;