diff options
Diffstat (limited to 'freetype/src/base/ftpic.c')
-rw-r--r-- | freetype/src/base/ftpic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/freetype/src/base/ftpic.c b/freetype/src/base/ftpic.c index 7780c8a92..ce93f02ff 100644 --- a/freetype/src/base/ftpic.c +++ b/freetype/src/base/ftpic.c @@ -4,7 +4,7 @@ /* */ /* The FreeType position independent code services (body). */ /* */ -/* Copyright 2009 by */ +/* Copyright 2009, 2013 by */ /* Oran Agra and Mickey Gabel. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -29,7 +29,8 @@ ft_pic_container_init( FT_Library library ) { FT_PIC_Container* pic_container = &library->pic_container; - FT_Error error = FT_Err_Ok; + FT_Error error; + FT_MEM_SET( pic_container, 0, sizeof ( *pic_container ) ); |