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->Decompress = guac_rdp_bitmap_decompress;
|
||||||
bitmap->SetSurface = guac_rdp_bitmap_setsurface;
|
bitmap->SetSurface = guac_rdp_bitmap_setsurface;
|
||||||
graphics_register_bitmap(context->graphics, bitmap);
|
graphics_register_bitmap(context->graphics, bitmap);
|
||||||
xfree(bitmap);
|
free(bitmap);
|
||||||
|
|
||||||
/* Set up glyph handling */
|
/* Set up glyph handling */
|
||||||
glyph = xnew(rdpGlyph);
|
glyph = xnew(rdpGlyph);
|
||||||
@ -227,7 +227,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
|||||||
glyph->BeginDraw = guac_rdp_glyph_begindraw;
|
glyph->BeginDraw = guac_rdp_glyph_begindraw;
|
||||||
glyph->EndDraw = guac_rdp_glyph_enddraw;
|
glyph->EndDraw = guac_rdp_glyph_enddraw;
|
||||||
graphics_register_glyph(context->graphics, glyph);
|
graphics_register_glyph(context->graphics, glyph);
|
||||||
xfree(glyph);
|
free(glyph);
|
||||||
|
|
||||||
/* Set up pointer handling */
|
/* Set up pointer handling */
|
||||||
pointer = xnew(rdpPointer);
|
pointer = xnew(rdpPointer);
|
||||||
@ -242,7 +242,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
|||||||
pointer->SetDefault = guac_rdp_pointer_set_default;
|
pointer->SetDefault = guac_rdp_pointer_set_default;
|
||||||
#endif
|
#endif
|
||||||
graphics_register_pointer(context->graphics, pointer);
|
graphics_register_pointer(context->graphics, pointer);
|
||||||
xfree(pointer);
|
free(pointer);
|
||||||
|
|
||||||
/* Set up GDI */
|
/* Set up GDI */
|
||||||
instance->update->EndPaint = guac_rdp_gdi_end_paint;
|
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) {
|
void guac_rdpdr_process_terminate(rdpSvcPlugin* plugin) {
|
||||||
xfree(plugin);
|
free(plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
void guac_rdpdr_process_event(rdpSvcPlugin* plugin, RDP_EVENT* event) {
|
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) {
|
void guac_rdpsnd_process_terminate(rdpSvcPlugin* plugin) {
|
||||||
xfree(plugin);
|
free(plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
void guac_rdpsnd_process_event(rdpSvcPlugin* plugin, RDP_EVENT* event) {
|
void guac_rdpsnd_process_event(rdpSvcPlugin* plugin, RDP_EVENT* event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user