|
@ -99,7 +99,10 @@ void |
|
|
jpeg_free_custom_allocations(j_compress_ptr cinfo){ |
|
|
jpeg_free_custom_allocations(j_compress_ptr cinfo){ |
|
|
closure_destination_mgr * dest; |
|
|
closure_destination_mgr * dest; |
|
|
dest = (closure_destination_mgr *) cinfo->dest; |
|
|
dest = (closure_destination_mgr *) cinfo->dest; |
|
|
|
|
|
if (dest->buffer) { |
|
|
free(dest->buffer); |
|
|
free(dest->buffer); |
|
|
|
|
|
dest->buffer = NULL; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void |
|
|
void |
|
|