« Previous | Next » 

Revision c673ed8a

IDc673ed8afa9e30f800fd45d44839cf09c8165fc7
Parent 635997ee
Child 74f3da7c

Added by Christopher Hlubek almost 7 years ago

[BUGFIX] Correctly close all streams opened from a Resource

The resource opens a stream (e.g. file handle for the file
storage) when calling getStream() using the underlying storage. It's the
callers responsibility to close the stream after consuming the content.

This change adds some missing fclose() calls and adds an error check to
the ArrayConverter that results in better error messages when dealing
with broken resources.

Change-Id: If417eeded7c3c8458444ace94af1305c4f25a7d0
Releases: master, 3.0
Fixes: FLOW-341

  • added
  • modified
  • copied
  • renamed
  • deleted