Merge pull request #2782 from bmiklautz/order_does_matter

x11: reorder xf_post_disconnect
This commit is contained in:
Bernhard Miklautz 2015-07-14 15:50:32 +02:00
commit c12bc0ec70

View File

@ -1195,6 +1195,8 @@ static void xf_post_disconnect(freerdp* instance)
context = instance->context;
xfc = (xfContext*) context;
freerdp_channels_disconnect(context->channels, instance);
gdi_free(instance);
if (xfc->clipboard)
@ -1212,8 +1214,6 @@ static void xf_post_disconnect(freerdp* instance)
}
xf_keyboard_free(xfc);
freerdp_channels_disconnect(context->channels, instance);
}
/** Callback set in the rdp_freerdp structure, and used to get the user's password,