The Independent JPEG Group's JPEG software v4a

This commit is contained in:
Thomas G. Lane
1993-02-18 00:00:00 +00:00
committed by DRC
parent 88aeed428f
commit cc7150e281
42 changed files with 1083 additions and 451 deletions

View File

@@ -297,7 +297,7 @@ free_medium (void FAR *ptr)
hdr--; /* point back to header */
/* Remove item from list -- linear search is fast enough */
llink = &medium_list;
llink = (medium_ptr FAR *) &medium_list;
while (*llink != hdr) {
if (*llink == NULL)
ERREXIT(methods, "Bogus free_medium request");