]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/map.c
Merge commit 'ce0ea4bdc1521a3926994077fc104e7a155d299d' into master-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / map.c
index 7fb21bbf79be8f1c6446d8b97b075978260e1f4f..eba484198bb43349f80b00043d9dc4e301f37921 100644 (file)
@@ -1589,8 +1589,7 @@ void LoadEntityIndexMap( entity_t *e ){
        }
 
        /* create a new index map */
-       im = safe_malloc( sizeof( *im ) );
-       memset( im, 0, sizeof( *im ) );
+       im = safe_malloc0( sizeof( *im ) );
 
        /* set it up */
        im->w = w;