Merge branch 'master' of github.com:mrthebunny/FreeRDP
This commit is contained in:
commit
5fc0f72c90
@ -494,9 +494,10 @@ static void input_free_queued_message(void *obj)
|
||||
|
||||
rdpInput* input_new(rdpRdp* rdp)
|
||||
{
|
||||
const wObject cb = { .fnObjectFree = input_free_queued_message };
|
||||
wObject cb;
|
||||
rdpInput* input;
|
||||
|
||||
cb.fnObjectFree = input_free_queued_message ;
|
||||
input = (rdpInput*) malloc(sizeof(rdpInput));
|
||||
|
||||
if (input != NULL)
|
||||
|
@ -1553,9 +1553,10 @@ static void update_free_queued_message(void *obj)
|
||||
|
||||
rdpUpdate* update_new(rdpRdp* rdp)
|
||||
{
|
||||
const wObject cb = { .fnObjectFree = update_free_queued_message };
|
||||
wObject cb;
|
||||
rdpUpdate* update;
|
||||
|
||||
cb.fnObjectFree = update_free_queued_message;
|
||||
update = (rdpUpdate*) malloc(sizeof(rdpUpdate));
|
||||
|
||||
if (update)
|
||||
|
Loading…
Reference in New Issue
Block a user