DescriptionOnly destroy huffman if build succeeded.
The earlier code assumed that if jpeg_create_huffman_index
succeeded but jpeg_build_huffman_index failed that the
index would still need to be destroyed. This is not the
case. Only call jpeg_destroy_huffman_index if both
succeeded.
BUG=http://b.corp.google.com/issue?id=10263847
Committed: https://code.google.com/p/skia/source/detail?r=10954
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|