Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / libwebp / utils / color_cache.c
index 66a4464..8a88f08 100644 (file)
@@ -32,7 +32,7 @@ int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) {
 
 void VP8LColorCacheClear(VP8LColorCache* const cc) {
   if (cc != NULL) {
-    free(cc->colors_);
+    WebPSafeFree(cc->colors_);
     cc->colors_ = NULL;
   }
 }