summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxconsole
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-28 00:10:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-28 00:10:43 +0000
commitc2853cbc580b343ff45c3befc1b484ffc2a2ecfe (patch)
treec93decb412e433193f06fc5602a9560119017d19 /nuttx/graphics/nxconsole
parent3f871cbbae8fc67b704f267fadbb932046afd5ca (diff)
downloadpx4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.gz
px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.bz2
px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4532 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxconsole')
-rw-r--r--nuttx/graphics/nxconsole/nxcon_font.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/graphics/nxconsole/nxcon_font.c b/nuttx/graphics/nxconsole/nxcon_font.c
index c3280046b..c8336a289 100644
--- a/nuttx/graphics/nxconsole/nxcon_font.c
+++ b/nuttx/graphics/nxconsole/nxcon_font.c
@@ -183,6 +183,9 @@ nxcon_allocglyph(FAR struct nxcon_state_s *priv)
luglyph->usecnt = 1;
return luglyph;
#else
+ /* TODO: Instead allocating an freeing, just allocate the max glyph once */
+
+ nxcon_freeglyph(&priv->glyph);
return &priv->glyph;
#endif
}