diff options
author | qarmin <mikrutrafal54@gmail.com> | 2020-04-15 10:27:57 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2020-04-15 10:27:57 +0200 |
commit | 943ec798592e20446ae3661cb76c44a20c8a30ec (patch) | |
tree | f500ee152cbd4702ef077eb8542820dc2ec11b63 /core/resource.cpp | |
parent | 84142f6a5fcdf26e2a023e7b3914ac059b63df99 (diff) |
Fixes leaks in ResourceCache, Vulkan and X11
Diffstat (limited to 'core/resource.cpp')
-rw-r--r-- | core/resource.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/resource.cpp b/core/resource.cpp index d1883d8043..8d5c441b21 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -477,6 +477,9 @@ void ResourceCache::clear() { resources.clear(); memdelete(lock); +#ifdef TOOLS_ENABLED + memdelete(path_cache_lock); +#endif } void ResourceCache::reload_externals() { |