diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-10-15 13:43:35 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-10-15 13:51:05 +0100 |
commit | 71d303a1805b454395b9b2ed4d1007699b9d1314 (patch) | |
tree | 99176bb9155b9c49fea2028ed9747dfb5dae65f6 /src/nsfb.h | |
parent | 167205c109291aa1957ba64667efa12ce53bba5d (diff) | |
download | libnsfb-71d303a1805b454395b9b2ed4d1007699b9d1314.tar.gz libnsfb-71d303a1805b454395b9b2ed4d1007699b9d1314.tar.bz2 |
fix unchecked heap allocation returns
Alastair Hughes provided a patch in the bug tracker which I based this
implementation upon.
Closes: #2553
Diffstat (limited to 'src/nsfb.h')
-rw-r--r-- | src/nsfb.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,7 +14,8 @@ #include <stdint.h> -/** NS Framebuffer context +/** + * Framebuffer context */ struct nsfb_s { int width; /**< Visible width. */ |