- resource leak in pointcache, opendir without closedir()
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.
This commit is contained in:
@@ -2863,6 +2863,7 @@ void BKE_ptcache_disk_cache_rename(PTCacheID *pid, char *from, char *to)
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
|
||||
strcpy(pid->cache->name, old_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user