mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix test failure by adding memset
This commit is contained in:
parent
d80eb7a069
commit
e9a21ffd2b
1 changed files with 1 additions and 0 deletions
|
@ -2987,6 +2987,7 @@ getTypeInfo(NSTimeInterval since, GSTimeZone *zone)
|
|||
|
||||
zoneName = [timeZoneName UTF8String];
|
||||
sp = malloc(sizeof(*sp));
|
||||
memset((char *)sp, '\0', sizeof(*sp));
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue