mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
Merge "PaletteSortModifiedZeng: fix leak on error" into 1.3.0
This commit is contained in:
commit
fd7b5d4846
@ -259,6 +259,7 @@ static int PaletteSortModifiedZeng(
|
||||
return 0;
|
||||
}
|
||||
if (!CoOccurrenceBuild(pic, palette_sorted, num_colors, cooccurrence)) {
|
||||
WebPSafeFree(cooccurrence);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user