diff options
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r-- | src/Cache.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index a4c740f..fe377e8 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -138,7 +138,6 @@ namespace dchat catch(std::exception &e) { fprintf(stderr, "Failed to load image %s, reason: %s\n", filepath.string().c_str(), e.what()); - delete fileContent.data; } return { (sf::Texture*)nullptr, ImageByUrlResult::Type::FAILED_DOWNLOAD }; } |