Remove usage of xfree().
This commit is contained in:
parent
7907b2f34a
commit
bffa28a7de
@ -216,7 +216,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
||||
bitmap->Decompress = guac_rdp_bitmap_decompress;
|
||||
bitmap->SetSurface = guac_rdp_bitmap_setsurface;
|
||||
graphics_register_bitmap(context->graphics, bitmap);
|
||||
xfree(bitmap);
|
||||
free(bitmap);
|
||||
|
||||
/* Set up glyph handling */
|
||||
glyph = xnew(rdpGlyph);
|
||||
@ -227,7 +227,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
||||
glyph->BeginDraw = guac_rdp_glyph_begindraw;
|
||||
glyph->EndDraw = guac_rdp_glyph_enddraw;
|
||||
graphics_register_glyph(context->graphics, glyph);
|
||||
xfree(glyph);
|
||||
free(glyph);
|
||||
|
||||
/* Set up pointer handling */
|
||||
pointer = xnew(rdpPointer);
|
||||
@ -242,7 +242,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
||||
pointer->SetDefault = guac_rdp_pointer_set_default;
|
||||
#endif
|
||||
graphics_register_pointer(context->graphics, pointer);
|
||||
xfree(pointer);
|
||||
free(pointer);
|
||||
|
||||
/* Set up GDI */
|
||||
instance->update->EndPaint = guac_rdp_gdi_end_paint;
|
||||
|
@ -77,7 +77,7 @@ void guac_rdpdr_process_connect(rdpSvcPlugin* plugin) {
|
||||
}
|
||||
|
||||
void guac_rdpdr_process_terminate(rdpSvcPlugin* plugin) {
|
||||
xfree(plugin);
|
||||
free(plugin);
|
||||
}
|
||||
|
||||
void guac_rdpdr_process_event(rdpSvcPlugin* plugin, RDP_EVENT* event) {
|
||||
|
@ -75,7 +75,7 @@ void guac_rdpsnd_process_connect(rdpSvcPlugin* plugin) {
|
||||
}
|
||||
|
||||
void guac_rdpsnd_process_terminate(rdpSvcPlugin* plugin) {
|
||||
xfree(plugin);
|
||||
free(plugin);
|
||||
}
|
||||
|
||||
void guac_rdpsnd_process_event(rdpSvcPlugin* plugin, RDP_EVENT* event) {
|
||||
|
Loading…
Reference in New Issue
Block a user