From d78e908719486b7b217475b3d5a47d6c8ae6886f Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Wed, 4 Sep 2019 19:16:35 +0100 Subject: [PATCH] Added a note to FileStream documentation about not calling fclose on the returned FILE* Change-Id: I0aea38343fbcbb7c7c3be2805753d3dd9d3e198d --- dali/devel-api/adaptor-framework/file-stream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dali/devel-api/adaptor-framework/file-stream.h b/dali/devel-api/adaptor-framework/file-stream.h index 8fa9999..de69f06 100644 --- a/dali/devel-api/adaptor-framework/file-stream.h +++ b/dali/devel-api/adaptor-framework/file-stream.h @@ -107,6 +107,7 @@ public: /** * @brief Returns the file stream * @return FILE. + * @note This class is responsible for closing the file so the caller SHOULD NOT call fclose() on the returned pointer. */ FILE* GetFile(); -- 2.7.4