Check annotate_hash_table return value
This commit is contained in:
parent
087376dc18
commit
425da0ed8a
@ -1375,7 +1375,9 @@ quantize(
|
||||
fflush(stdout);
|
||||
timer = clock();
|
||||
#endif
|
||||
annotate_hash_table(root, h, &nPaletteEntries);
|
||||
if (!annotate_hash_table(root, h, &nPaletteEntries)) {
|
||||
goto error_3;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
printf("done (%f)\n", (clock() - timer) / (double)CLOCKS_PER_SEC);
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user