Added fclose to ResourceThreadImage::LoadResourceSynchronously 28/24128/1
authorRichard Underhill <r.underhill@partner.samsung.com>
Tue, 17 Jun 2014 10:38:48 +0000 (11:38 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 14:48:05 +0000 (15:48 +0100)
Certain files not being closed correctly

Change-Id: I350d45c85d97461843e3e8c33845ae2c6950cb96
Signed-off-by: Richard Underhill<r.underhill@partner.samsung.com>
platform-abstractions/slp/resource-loader/resource-thread-image.cpp

index 6e32b461f616d0f4d41c43209df366874a73f9c2..8a5c9af53d820beb6ce613ea9804deabde0f42d2 100755 (executable)
@@ -268,6 +268,7 @@ ResourcePointer ResourceThreadImage::LoadResourceSynchronously( const Integratio
     {
       resource.Reset(bitmap.Get());
     }
+    fclose(fp);
   }
   return resource;
 }