Permalink
Browse files

ensure closing image loader.

  • Loading branch information...
1 parent 4d74156 commit bb77e652588d8a188b91379829feb0d5bf1b1529 @kou kou committed Dec 6, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 app.rb
View
1 app.rb
@@ -137,6 +137,7 @@ def render_to_surface(surface, scale, paper, info, font)
end
loader = Gdk::PixbufLoader.new
loader.write(image_data)
+ loader.close
pixbuf = loader.pixbuf
if pixbuf
context.save do

0 comments on commit bb77e65

Please sign in to comment.