diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-07-22 21:50:19 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-08-06 21:57:32 +0200 |
commit | 458538010837633483409700f42a81d4650f2169 (patch) | |
tree | f26c01b9b840380bd2aa7cc74ba3e71fee1ccaa5 /nx-X11/programs/Xserver/hw | |
parent | 8b74ff1c11f42943fbfdf247446676536d16f480 (diff) | |
download | nx-libs-458538010837633483409700f42a81d4650f2169.tar.gz nx-libs-458538010837633483409700f42a81d4650f2169.tar.bz2 nx-libs-458538010837633483409700f42a81d4650f2169.zip |
Render.c: use SAFE_free
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Render.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c index 9d91b1ff1..ebc1fe287 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Render.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c @@ -45,6 +45,7 @@ #include "Drawable.h" #include "Trap.h" #include "Args.h" +#include "Utils.h" #define Atom XlibAtom #define Pixmap XlibPixmap @@ -2528,7 +2529,7 @@ void nxagentAddGlyphs(GlyphSetPtr glyphSet, Glyph *gids, xGlyphInfo *gi, if (normalizedImages != images) { - free(normalizedImages); + SAFE_free(normalizedImages); } #ifdef DEBUG @@ -2636,7 +2637,7 @@ FIXME: Is this useful or just a waste of bandwidth? nparams); #endif - free(szFilter); + SAFE_free(szFilter); } |