Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #612 from 13k/master

Fog storage leaks a file descriptor
  • Loading branch information...
commit e0b1395ca7539300727b437acc214046b6ae12f9 2 parents 3fe8c8c + fe9d6df
@bensie bensie authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/carrierwave/storage/fog.rb
View
1  lib/carrierwave/storage/fog.rb
@@ -243,6 +243,7 @@ def store(new_file)
:key => path,
:public => @uploader.fog_public
}.merge(@uploader.fog_attributes))
+ fog_file.close if fog_file && !fog_file.closed?
true
end
Please sign in to comment.
Something went wrong with that request. Please try again.