diff options
Diffstat (limited to 'lwlib/lwlib-Xaw.c')
-rw-r--r-- | lwlib/lwlib-Xaw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c index 9c9a007bc15..0eea0aba7b6 100644 --- a/lwlib/lwlib-Xaw.c +++ b/lwlib/lwlib-Xaw.c @@ -136,7 +136,7 @@ openFont (Widget widget, char *name) } fn = XftFontOpenName (XtDisplay (widget), screen, fname); - if (fname != name) free (fname); + if (fname != name) xfree (fname); return fn; } @@ -384,7 +384,7 @@ xaw_destroy_instance (widget_instance *instance) if (instance->xft_data[0].xft_font) XftFontClose (XtDisplay (instance->widget), instance->xft_data[0].xft_font); - free (instance->xft_data); + xfree (instance->xft_data); } #endif if (XtIsSubclass (instance->widget, dialogWidgetClass)) |