]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/map.c
Merge commit '9c4c8b725fdca551dc9379b77ebd9c498d0c6f28' into master-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / map.c
index 8bfb5b044eb5f98b18599ccb88df2f319553e46a..08d0a56899bf74c98c7319115220a353696b7c7f 100644 (file)
@@ -1528,8 +1528,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;