]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/ps-to-png.scm
Issue 4923/2: Add closing a file in `scale-down-image`
[lilypond.git] / scm / ps-to-png.scm
index f5d40d0c5ceefdcd94cbcf4e39cc126c0b57a57b..f20ca61b41a471c0b7646c9248915fdf1138670f 100644 (file)
@@ -69,6 +69,8 @@
            (search-pnmtopng)
            tmp2-name)))
 
+    (close-port port-tmp1)
+    (close-port port-tmp2)
     (ly:debug (_ "Copying `~a' to `~a'...") file tmp1-name)
     (copy-binary-file file tmp1-name)
     (ly:system-with-shell cmd)