]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/console_truetype.c
at91, smartweb: use SPL_SYS_MALLOC_F_LEN
[u-boot] / drivers / video / console_truetype.c
index c249f047f5b21b237a1ac6f2a0ca3b48e08ee89d..e16f95a02ce61f282caa41c4b3c46babb88291d3 100644 (file)
@@ -289,6 +289,7 @@ static int console_truetype_putc_xy(struct udevice *dev, uint x, uint y,
                }
 #endif
                default:
+                       free(data);
                        return -ENOSYS;
                }