diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-07-03 16:41:02 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-07-03 16:41:02 +0200 |
commit | 5a8549c6edd0b18fa2315045622bca0f91853796 (patch) | |
tree | 4623aec4206d9338e5bcf16a2b71c8898632df80 /nx-X11/programs/Xserver/dix | |
parent | fd9de0086d10ee236dd24d51d93f60edf52cd89c (diff) | |
parent | 5651680bbde34de2713d06e868416145e269cb7c (diff) | |
download | nx-libs-5a8549c6edd0b18fa2315045622bca0f91853796.tar.gz nx-libs-5a8549c6edd0b18fa2315045622bca0f91853796.tar.bz2 nx-libs-5a8549c6edd0b18fa2315045622bca0f91853796.zip |
Merge branch 'mjtrangoni-WIP-add-cppcheck' into 3.6.x
Attributes GH PR #678: https://github.com/ArcticaProject/nx-libs/pull/678
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; |