X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Ffacebsp.c;h=48cf798de98f0ef99ae14441b994626ea0ed1084;hb=578b01e8cb2bf425c24cbeee3bbb6a5f7c59b1cb;hp=e5390ede45a1fcc32da6a2893b4df1d17674e161;hpb=02a51890a3d97a0e937fbb11071cf7c41cc00aa9;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/facebsp.c b/tools/quake3/q3map2/facebsp.c index e5390ede..48cf798d 100644 --- a/tools/quake3/q3map2/facebsp.c +++ b/tools/quake3/q3map2/facebsp.c @@ -49,8 +49,7 @@ int c_faceLeafs; face_t *AllocBspFace( void ) { face_t *f; - f = safe_malloc( sizeof( *f ) ); - memset( f, 0, sizeof( *f ) ); + f = safe_malloc0( sizeof( *f ) ); return f; }