darktable-org/darktable — pull request #270 by mlq (2013-07-23 20:59:29+00:00)
Title: Resolve memory leak in noiseprofile and add additional proper error handling

This patch resolves the memory leak of inv_hist in the main function. In addition I took some time to rewrite some other functions by adding proper error handling regarding memory allocation and I/O errors to them, but it still needs to be tested again.