diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2018-03-25 16:13:10 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-07-03 16:40:06 +0200 |
commit | 913fcf1a74426725f14380dd5b34286a21c37ab7 (patch) | |
tree | 70892161161325931ae5f1b444b277a4d9f0379d /nx-X11/programs/Xserver/dix | |
parent | c58cbc26cc2a04fa06d22333ffe7ad52f7ede1fa (diff) | |
download | nx-libs-913fcf1a74426725f14380dd5b34286a21c37ab7.tar.gz nx-libs-913fcf1a74426725f14380dd5b34286a21c37ab7.tar.bz2 nx-libs-913fcf1a74426725f14380dd5b34286a21c37ab7.zip |
Fix some memory leaks.
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r-- | nx-X11/programs/Xserver/dix/cursor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/dix/cursor.c b/nx-X11/programs/Xserver/dix/cursor.c index a1bf6a7ed..658edcb87 100644 --- a/nx-X11/programs/Xserver/dix/cursor.c +++ b/nx-X11/programs/Xserver/dix/cursor.c @@ -371,6 +371,7 @@ AllocGlyphCursor(Font source, unsigned sourceChar, Font mask, unsigned maskChar, if (!pShare) { FreeCursorBits(bits); + free(pCurs); return BadAlloc; } pShare->font = sourcefont; |