mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-15 10:25:55 -07:00
Merge pull request #203 from traum-ferienwohnungen/fix_icc_memory_leak
Fix memory leak on icc_transform
This commit is contained in:
commit
0df331cdeb
1 changed files with 1 additions and 0 deletions
1
vips.go
1
vips.go
|
|
@ -394,6 +394,7 @@ func vipsPreSave(image *C.VipsImage, o *vipsSaveOptions) (*C.VipsImage, error) {
|
||||||
if int(err) != 0 {
|
if int(err) != 0 {
|
||||||
return nil, catchVipsError()
|
return nil, catchVipsError()
|
||||||
}
|
}
|
||||||
|
C.g_object_unref(C.gpointer(image))
|
||||||
image = outImage
|
image = outImage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue