* src/base/ftbitmap.c (FT_Bitmap_New): Check argument.
This commit is contained in:
parent
b3500af717
commit
1e6e1b8390
|
@ -1,3 +1,7 @@
|
|||
2014-11-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftbitmap.c (FT_Bitmap_New): Check argument.
|
||||
|
||||
2014-11-19 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Change some fields in `FT_Bitmap' to unsigned type.
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
FT_EXPORT_DEF( void )
|
||||
FT_Bitmap_New( FT_Bitmap *abitmap )
|
||||
{
|
||||
*abitmap = null_bitmap;
|
||||
if ( abitmap )
|
||||
*abitmap = null_bitmap;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue