mirror of
https://github.com/openharmony/third_party_libtiff.git
synced 2026-07-01 06:48:10 -04:00
@@ -195,4 +195,5 @@ ohos_shared_library("libtiff") {
|
||||
output_extension = "so"
|
||||
install_images = [ "system" ]
|
||||
ldflags = [ "-Wl,-Map=libtiff.map" ]
|
||||
|
||||
}
|
||||
+2
-1
@@ -2907,8 +2907,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* If we did not use the read buffer as the crop buffer */
|
||||
if (read_buff && read_buff != crop_buff)
|
||||
if (read_buff && read_buff != crop_buff) {
|
||||
_TIFFfree(read_buff);
|
||||
}
|
||||
|
||||
if (crop_buff)
|
||||
_TIFFfree(crop_buff);
|
||||
|
||||
Reference in New Issue
Block a user